Mobile Development Study Notes Android

Source: Internet
Author: User

As the business needs of the Organization have the opportunity to get started with the knowledge and intuition related to mobile phone development-of course, I think it is common sense for many friends, and mobile phone development is getting closer and closer to enterprises, many companies are developing mobile platforms for their applications. This is a platform full of opportunities. I initially wanted to learn from IPhone development. Unfortunately, after reading several articles and exploring them, I found that although some friends have successfully combined VM7 and darwin. boot files such as iso are successfully installed on Apple's virtual machines in Windows, but many failed. Give up Apple's development exploration for the moment, starting with Andorid.

Android is built on the Linux kernel. Android contains a WebKit-based embedded browser. Andorid provides multiple connection options, including WiFi, Bluetooth, and wireless data transmission through cellular connections (such as GPRS, EDGE, and 3G ). Android provides built-in support for 2D and 3D graphics, including OpenGL libraries, and graphic support. In addition, Android provides support for data storage, including the popular open source SQLite database, is a simplified Android software hierarchy:

Dalvik is a Java virtual machine designed by Google for Android. Dalvik virtual machine is one of the core components of the Android mobile device platform developed by Google and other vendors. It supports conversion. dex (Dalvik Executable) format Java application running ,. dex format is a compression format designed for Dalvik, suitable for systems with limited memory and processor speed. Dalvik is optimized to allow instances of multiple virtual machines to run simultaneously in limited memory, and each Dalvik application is executed as an independent Linux Process. Independent processes can prevent all programs from being shut down when the Virtual Machine crashes.

Android runs on the Linux kernel. Android applications are written in the Java programming language and run in a Virtual Machine (VM, each Android Application runs in an instance of Dalvik VM. This instance resides in a process managed by the Linux kernel. The Android Application consists of one or more components:

Activity: Applications with visual UI are implemented by activity. When you select an application from the home screen or application initiator, an action is started;

Service:Services are applied to any applications that require a long period of time, such as network monitors or update applications;

Content Providers:Content providers can be viewed as database servers. The task of content providers is to manage access to persistent data, such as SQLite databases. If the application is very simple, you may not need to create a content provider. If you want to build a large application or build an application that needs to provide data for multiple activities or applications, you can use the content provider to access data;

Broadcast receiver:Android applications can be used to process a data element or to respond to an event (such as receiving text information.

The Android Application is used together with an AndroidManifest. anroidManifest. xml contains the necessary configuration information so that it can be installed to the device as appropriate. It contains the required class name and the type of event that the application can handle, and the license required to run the application. For example, if an application needs to access the network-for example, to download a file-the permission must be listed explicitly in the manifest file. Many applications may enable this specific license. This declarative Security helps reduce the possibility that malicious applications may damage devices.

Development Environment:

The Android Application Development Environment uses Eclipse IDE. Android development can be performed on Microsoft Windows, Max OS X, or Linux, next, we will try to use Eclipse IDE and the Android Developer Tools plug-in for Eclipse to develop Android mobile apps.

(Mark: Next we will follow the Development SDK and so on)

Refer:

How to install IPone Development Environment: http://wenku.baidu.com/view/8a809fec0975f46527d3e113.html in Windows

Introduction to Android development on IBM Developerworks:

Http://www.ibm.com/developerworks/cn/opensource/os-android-devel/#resources

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.