The Dalvik virtual machine is different from the general Java Virtual Machine (Java VM ).

Source: Internet
Author: User

The Dalvik virtual machine is different from the general Java Virtual Machine (Java VM,

It does not execute the java standard bytecode but the execution file in the Dalvik executable format (. Dex. During execution, each application is a process (a process in Linux ).

The biggest difference between the two is:

Java VM is a stack-based virtual machine ),

Dalvik is a register-based virtual machine ).

Application Framework)

The Android Application Framework provides APIs for developers at the application layer. It is actually an application framework. Because the upper-layer applications are built in Java, this layer first contains the various controls required in the UI program:
For example, views (view components) include lists, grids, text boxes, and buttons. Even an embedded web browser.
An andoid application can take advantage of the following parts in the application framework:
Activity)
Broadcast intent receiver (broadcast intent receiver)
Service)
Content Provider)

Application)

Android applications mainly involve user interfaces, which are usually written in Java and can contain various resource files (stored in the res directory) after the Java program and related resources are compiled, an APK package is generated. Android provides many core applications such as home, contact, phone, and browser. At the same time, application developers can use APIs at the application framework layer to implement their own applications. This is also a manifestation of the huge potential of Android open source.

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.