Since the beginning of Android OS, it has been that Android is using Dalvik machine. It is used to compile apps stored in the Android device. It compile at the moment you want to launch the app. It uses JIT (Just In Time) compiler to compile the Android app as you click the app.
Benefit of course is storage size is less for the device. It is storing in a more compact format.
Major draw back for this is, it'll takes a bit to compile and also, it consumes more battery power.
Since now, storage has become much cheaper, Google is working a new runtime program that will compile the code once you install. (One time only ART compare to previous Dalvik Virtual machine (VM) where every time you launch the app.
After two long years, it has been implemented on Android Kit Kat 4.4 OS. However, this is classify as experimental. It is still work in progress. Now it is giving for early developer and partner feedback.
How to do it?
Requirement: Kit Kat device (Android 4.4 or higher)
1. Enable Developer Options
- Pull down notification shade by sliding down from the top of the device
- Tap the Quick Setting icon at Top Right
- Tap the Gear icon to go to Setting
- Tap "About Phone"
- Continuously tap Build number over and over until it says you are a Developer
- Hit Back
- Tap on Developer option that just appeared above "About Phone" and turn them on
2. Enable ART Runtime
- Tap on Select Runtime in Developer Options
- Select "Use ART"
- Tap "OK"
- Wait for the device to reboot (this may take a while the first time)
- Enjoy faster and much more battery life's device.
Google claim battery saving using ART as well as faster execution.
Note: Storage takes up 10 to 20 percent more space on your on-board storage, but allow them to open faster
Take a break with Kit Kat Device :)
No comments:
Post a Comment