[Android New features] Android 4.4 new features detailed

Source: Internet
Author: User

At the beginning of this month, Google's 5 prince Google Nexus5 officially released, but also brought a brand-new Android android4.4 operating system, and the official website to bring new claims, that is, Android 4.4 will be more power-saving than the previous system, this is why? The Net-man is talking about why the power-saving mechanism of Android 4.4.

First, we need to figure out a question, which is what is Dalvik?

The most notable feature of the entire Android 4.4 update is that the virtual machine is changed from Dalvik to art, the "middleware" Change (midware). First look at what is Dalvik.

, the Dalvik virtual machine is part of an Android runtime that connects the underlying core, the perimeter library, and the upper-level application.

The existence of Dalvik ensures that Android will be able to make a lot of Java programmers switch to Android development in the early stages of development. It is also a guarantee of compatibility. For many Java programmers, the upper-level application development can ignore the underlying hardware as long as the Dalvik virtual machine and the upper and lower interfaces are maintained.

Of course, there is another patent-related reason: directly on the JVM virtual opportunity with sun company. So Google has come up with this dalvik. Turn all Java bytecode into Dalvik byte code.

In the Android 2.2 era, Google has added a very important feature to Dalvik-JIT (Just in Time), instant compilation technology.

Each time the application runs, a subset of the bytecode needs to be recompiled to machine code. This process consumes time and consumes system resources, so execution efficiency inevitably decreases. But the advantage of this mechanism is that it allows a wide variety of applications to run on multiple hardware architectures. This also contributed to the massive Shanzhai machine in Android 2.2 after the blowout.

But on the latest Android 4.4, Google has introduced a new art (Android Runtime) virtual machine. In the ART environment, when the application is first installed, bytecode is pre-compiled into machine code, making it a true native application. In this case, the startup and execution of the application will become faster.

Which parts of art are superior to Dalvik?

Some benchmark tests have shown that art cuts the execution time of most applications by about half. This means that tasks that require a lot of processor performance and long running times will be executed more quickly. With the more energy-saving sensor hub technology, you can achieve a perfect reduction in power consumption while improving smoothness.

Of course, there is a price to be paid to do that. First, because art requires the application's bytecode to be converted into machine code during installation, it consumes more storage space.

Second, the installation time is prolonged due to the process of transcoding. Of course, this doesn't have much effect, just wait for the meeting.

There is also a message that Meizu's Flyme OS may be upgraded to Android 4.4, but this will necessarily take some time, and with the help of Android 4.4, the Flyme OS may perform better.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.