Android Learning Note one--Introduction

Source: Internet
Author: User

Android was a mobile operating system created by Andy Rubin and later acquired by Google.

Google hopes to work with all parties to establish a standardized, open mobile phone software platform, in order to create an open operating platform in the mobile industry.

Google 2007.11.05 released the android1.0 mobile operating system. 2009.05 released the android1.5, which led to a lot of developers eyes.

The most common mobile operating systems on the market today

= = "Symbian

BlackBerry

Iphone

Palm

Windows Mobile

Android platform Architecture and features

= = "The bottom of the system is built on the Linux system, the platform consists of the operating system, middleware, user interface and application software four layers."

It is built using a method called software overlay. This software stack structure separates the layers from the layers and clarifies the division of the layers-preserving the low coupling between layers.

1. Application Layer

The system includes a series of core applications, including email clients, SMS programs, calendars, maps, browsers, contacts, and more. These programs are written using Java.

2. Application Framework

Api...

3. Function library

....

4.anroid Run time

Components: Android Core library set, Dalvik virtual machine. Its core library set provides most of the functionality that the Java Voice Core library can use, while virtual machines are responsible for allowing Android applications.

Android Environment Setup

= = "

JDK, Android SDK ...

Common development tools

= = "Eclipse, Android Studio ...

Android Debugging Tools

==>ddms,dalvik Debug Monitor Service.

ADB

==>android Debug Brige, located under the Platfomr-tools subdirectory of the installation directory.

The ADB tool can be used to copy the analog files to the computer files, or you can install the APK application, or you can switch directly to the Android system to execute the Linux command, eg:adb shell...adb devices ...

Send key event directly to Android using adb shell command
ADB shell input keyevent 7 # for key ' 0 '
ADB shell input keyevent 8 # for key ' 1 '
adb shell input KeyEvent # for key ' A '
adb shell input KeyEvent # for key ' B '
ADB shell input text "ANDROID"

Supported KeyCode

0--"keycode_unknown"
1--"Keycode_menu"
2--"Keycode_soft_right"
3--"Keycode_home"
4--"Keycode_back"
5--"Keycode_call"
6--"Keycode_endcall"
7--"Keycode_0"
8--"Keycode_1"
9--"keycode_2"
Ten--"Keycode_3"
---"keycode_4"
---"keycode_5"
---"keycode_6"
---"keycode_7"
---"keycode_8"
---"keycode_9"
---"Keycode_star"
---"Keycode_pound"
--"keycode_dpad_up"
---"Keycode_dpad_down"
--"Keycode_dpad_left"
---"keycode_dpad_right"
--"Keycode_dpad_center"
---"keycode_volume_up"
---"Keycode_volume_down"
---"keycode_power"
---"Keycode_camera"
---"keycode_clear"
--"keycode_a"
---"Keycode_b"
---"Keycode_c"
---"keycode_d"
---"keycode_e"
---"Keycode_f"
--"Keycode_g"
---"Keycode_h"
---"keycode_i"
---"Keycode_j"
"Keycode_k"
---"keycode_l"
---"keycode_m"
--"Keycode_n"
---"keycode_o"
---"keycode_p"
---"keycode_q"
---"Keycode_r"
---"keycode_s"
---"keycode_t"
---"Keycode_u"
"Keycode_v"
Wuyi--"Keycode_w"
---"keycode_x"
---"keycode_y"
---"keycode_z"
---"Keycode_comma"
---"keycode_period"
---"Keycode_alt_left"
---"keycode_alt_right"
---"Keycode_shift_left"
"Keycode_shift_right"
---"Keycode_tab"
---"keycode_space"
---"Keycode_sym"
---"keycode_explorer"
"Keycode_envelope"
---"Keycode_enter"
---"Keycode_del"
---"Keycode_grave"
---"Keycode_minus"
---"keycode_equals"
---"Keycode_left_bracket"
---"Keycode_right_bracket"
---"Keycode_backslash"
---"Keycode_semicolon"
---"Keycode_apostrophe"
---"Keycode_slash"
---"keycode_at"
---"Keycode_num"
---"Keycode_headsethook"
---"Keycode_focus"
Bayi--"Keycode_plus"
----"Keycode_menu"
---"keycode_notification"
---"Keycode_search"
---"Tag_last_keycode"

Android Learning Note one--Introduction

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.