Android 2.2 is being previewed at Google I/O. While most Android developers and users are eagerly waiting for news on Flash on Android 2.2 Froyo news we will first cover some of the other major changes to the OS that is going to make Android 2.2 Froyo a dream expereince for android developers to work with. We will definitely update you with Flash on Android news in a later post.
These updates seems to be major ones listed on Android’s official site. As we posted earlier that Android 2.2 Froyo is 420 times faster than the Android 2.1 Eclair. These updates basically shows ‘how’. And as an Android developer you have every right to be excited because these updates doesn’t only explain why Froyo is faster but it also has the potential to enable developers to serve the best UX(user Experience) for their Android applications.
1. Dalvik VM : Just-In-Time (JIT) Compiler = 2-5X faster performance.
This is the virtual machine which has brought changes to Android OS with 2-5X faster JIT(Just in Time) Compiler, which basically means that your code, whenever it’s executed as an activity or service or broadcast receiver, it’s converted on the fly and make each process run independently. This process of compiling third party code on the go (is called on-the-fly) is much faster than the previous versions of Android.
2. APIs & Services
⁃ Cloud to Device Messaging
This was one amongst the most needed feature on Android. This is basically like iPhone’s Push Notification for Android, in fact a little beyond that. If you’re an Android user, you must know that there are just too many notifications that await for your response in notification area. So, this one is quiet like, whenever you need your app to load up without any user’s input, then this is the brilliant way of doing that. Imagine, you receiving an email and instead of just listening the alert you might see the Email client already loaded up on screen showing your email without any user input.
Your Android device has a seamless connection with the cloud. Whenever the cloud experience the change with it’s message stack it pushes those messages to the device. And when the OS receives the change from cloud, it automatically loads up an appropriate app to view this message.
Another most known implementation of this Client to Cloud Messaging is to use as push notification services. In which the App never runs in background but user will receive update for that app, which makes the platform more robust and stable because less app in memory reduces the CPU cycles and hence no battery drain.
⁃ Application Backup API
This is the new Data Storage API through which you can help users to backup their Data in ‘cloud’. If you’re developing an app which deals with vital user information and the user forgot to back up that data and formatted the device, he / she probably has lost their vital info. So, here is where this API helps developer to develop an app which takes care of the user data to be backed up in the cloud. Whenever they change the info in the app, that gets updated in the cloud and this data is can be restored as well. So, if the user deleted that app or restored device or formatted, if the app backed up data earlier, then this data can be restored back to app without any issue!
⁃ Apps on SD Card
This is the feature required on devices which has lesser on-device-memory and uses expandable flash memory. So, if the user decided to save more memory on device, he / she would actually install app on SD card. In earlier OS versions, you basically need to replace the app through copy / pasting it into SD card but through Froyo update you will actually able to select where to install the app when you’re installing from Market.
⁃ Portable HotSpot
This is the magical feature on Android. Whereas, on other platforms you need to download third party app to get such feature. Portable HotSpot is nothing but turning your Android device into WiFi access point. Isn’t it great? Turning your device into access point makes your device more useful if you have only one option left on your Laptop and that is Wifi.
3. Browser : V8 = 2-3X faster javascript rendering
Android 2.2 Froyo is said to have the fastest mobile browser. As you might have heard that Google’ new Chrome gonna be the world’s fastest browser too. Google introduces the new V8 JavaScript rendering engine which is embedded in Froyo’s Browser and also on Google’s new Chrome.
V8 is built on C++ and implements ECMAScript as specified in ECMA-262, 3rd edition and runs Windows XP and Vista, Mac OS X 10.5 (Leopard), and Linux systems that use IA-32 or ARM processors. It can be run standalone or can be embedded into any C++ application.
4. Android Market
⁃ Auto Update and Update All
You have an option in Android Market in Froyo to Auto Update your already downloaded app. You can set this settings in Market app. This update is only possible until any permission given to the app is unchanged. However, if the app needs new permission to be granted, then the device needed a user input through little info on what all new permissions is been changed.
⁃ Application Error Report
In Froyo, Android developers gonna receive the Error Log generated by the Android device. This feature gonna help developers a lot to get the best user experience to the user device. Developers gonna receive this Error Log in their developer account at Android’s official’s site.
The above are the major changes brought to Android 2.2 Froyo. We’ll keep updating to you as we get to know more about this latest update.