Getting Started with Android: First day

Source: Internet
Author: User

What is Android?

is a Linux open source operating system, mainly for smart devices, such as smartphones, tablets, smart TVs, smart watches, Google Glasses, smart home, developed by Google, 2008 developed the first version

Each version of Android has a corresponding name;

Version of concern: 4.XX,5.XX;

Resolution: 720p Max;

Android differs from iOS;

One is open source, one is closed;

Android system architecture;

The bottom:

Linux kernel: Linux core technology, various drivers (WiFi driver, bluetooth driver, battery drive, audio driver, keyboard driver ...) )

Bottom up Second level:

Liberary: Small database, Opengl,ssl, browser kernel, C language core library, various libraries

Android Runtime: Core Library, DVM

Bottom up third layer: (also called application framework layer)

Includes, Activity Manager (management of various activities), window Manager (Windows Manager), view system (View systems (tags)), Notification Manager, Pageage Manager (Package Management), Tel Manager ( Phone manager), Resource Manager (Resource Manager), Location Manager (Locator manager), XMPP service (Instant Messaging protocol),........

Top level: Application (one layer of program development)

Home, Cantacts,phone,brower ....

Distinguishing between DVM and JVM

1:DVM based on registers, faster; JVM Stack-based

2: Bytecode difference: Dalvik: executes. dex format files that are generated after the. class file is compressed; JVM: Executing A. class file

3: The difference between the operating environment: DALVIK: An application startup runs a separate virtual machine running in a separate process; JVM: Multiple applications share a single JVM

Build the development environment

1: Download development software

Decompression adt-bundle-windows-x64

There are two of folders:

Android-sdk-windows: Development required ANDROIDSDK (equivalent to JDK)

Eclipse: Eclipse with built-in Android plugin

2:eclipse Specify ANDROIDSDK Location:

3: Configure path Path

In the user variable of the environment variable, create a new path variable, add two paths to the left, and separate the paths;

Here: The environment has been built.

Create the emulator and start:

Click the icon (Virtual Device Manager)

Click Create

After that, start.

Getting Started with Android: First day

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.