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