4. What is Android?
• As a software platform and operating system for mobile devices
• Is based on the Linux kernel
• Developed by Google and later by Open Handset Alliance (OHA)
• Allows code written in Java and some other languages supported by
Google
• Android was officially launched November 5, 2007
INTRODUCTION
4
6. Research and using Android over the world
• Every day there are more than 500,000 Android devices activated
• There are more than 70,000 Android applications stored in the Android
Market and over 100,000 applications filed ( according to 2010 data).
• There are also some reliable providers for Android 3rd party application
such as Amazon, Ebay ...
• Every Android device manufacturers have integrated GPS / A-GPS.
• Google Maps has supported mobile platforms
INTRODUCTION
6
7. Research and using Android in Viet Nam
• Programmers have begun to approach Android for about 2 years.
• Android programming training centers are opened in the big cities.
• ViMarket Market applications for Android was opened and the top 10th
applications of Vietnam Talent 2011 competition
INTRODUCTION
7
9. Step 0: Eclipse
Download Eclipse IDE for Java EE Developer
http://www.eclipse.org/downloads/
Step 1: Android SDK
Download Android SDK zip from:
http://developer.android.com/sdk/index.html
Unzip to a folder: "D: Andoid android-sdk-windows"
INSTALLATION AND SETTING UP
9
10. Step 2: Android Development Tools (ADT)
Help> Install new software
Install all plugins by ADT from:
https://dl-ssl.google.com/android/eclipse/
Configure ADT SDK: Window> Preferences> Android>
Specify the location SDK
Step 3: Update Android SDK
From SDK manager.exe or from the Android SDK and
AVD Manager of Eclipse
Step 4: Android emulator
Create virtual machine: Window> Android SDK and
AVD Manager> New
INSTALLATION AND SETTING UP
10
14. All type of files onAndroid
ANDROID OPERATING SYSTEM
Display letter Type of file
d Thư mục (Directory)
b File kiểu khối (block-type-special file)
c File kiểu ký tự (character –type special file)
l Liên kết tượng trưng (symbolic link)
p File đường ống (pipe)
s Socket
- File bình thường (regular file)
14
15. Folder tree on Android operating system
ANDROID OPERATING SYSTEM
15
16. The Parts of one application on Android
•Activity: the background of an application
•Service: service background for Android users to update the data, given
the warnings …
•Content Provider: management and data sharing between applications
•Intent: to send messages to initialize one activity or one service
ANDROID OPERATING SYSTEM
16
17. The Parts of one application on Android
•Broadcast Receiver: used to receive messages from the outside post. For
example: call signaling, network data ...
•Notification: make announcements without stopping the Activity
ANDROID OPERATING SYSTEM
17
18. Using XML to display interface on Android
ANDROID OPERATING SYSTEM
18
19. Mechanism of management process
•Foreground process: the currently application process is interactive by
the user.
•Visible process: the process of the application is displayed
•Service process: service is running
•Background process: The background is that its activity does not show
•Empty process: the process does not have any Activity, it will be deleted
once there is lack of resources
ANDROID OPERATING SYSTEM
19