Android Environment
SDK
Notes are based on:
Android Developers
http://developer.android.com/index.html
1
Part 2-a
2
2A. Android Environment: Eclipse & ADT
Android Development Tools (ADT) plugin dành cho Eclipse g n
ph n m r ng cho Eclipse IDE.
Nó cho phép ta t o và debug ng d ng Android application nhanh
h n và d h n. ơ ơ
u đi mƯ
1.Cho phép s d ng các công c phát tri n Android (Android
development tools) t bên trong Eclipse IDE. Ví d :
Ch p screenshot,
Debug / đ t các breakpoint, và
Xem thông tin v thread và process tr c ti p t Eclipse. ế
2. New Project Wizard giúp ta nhanh chóng t o và set up t t c các
file c b n mà ta s c n cho m t ng d ng Android m iơ .
3.t đ ng hóa và đ n gi n hóa quy trình xây d ng ơ ng d ng
Android.
4. Nó cung c p m t trình so n th o mã Android giúp ta vi t mã XML ế
cho Android manifest resource file.
5. s export project c a ta thành m t signed APK đ giao cho
ng i dùng.ườ
2
3
2A. Android Environment: Eclipse & ADT
Typical Layout of the Eclipse IDE for Android
Development
3
4
2A. Android Environment: Eclipse & ADT
Typical Layout of the Eclipse IDE for Android
Development
(details…)
4
Android SDK and AVD
Manager
New Android Project
DDMS Perspective
Dalvik Debugging Monitoring
System
5
2A. Android Environment: Eclipse & ADT
SETUP
Download the Android SDK – Installing on Windows, Linux, Mac OS
This page is taken from http://developer.android.com/sdk/index.html
Windows installer_r16-windows.exe
Mac OS X (intel) android-sdk_r16-mac_86.zip
Linux (i386) android-sdk_r16-linux_86.tgz
T ng quan v các b c cài đ t Android SDK: ướ
1. Chu n b máy tính đáp ng đ c các yêu c u h th ng. ượ
2. Cài gói SDK starter l y t trang web link trên.
3. Cài ADT Plugin cho Eclipse (n u s dùng Eclipse đ vi t ng d ng).ế ế
4. B sung cho SDK các Android platform và các component khác.
5. Xem n i dung c a Android SDK ( tùy ch n).
Đ b t đ u , t i gói cài đ t thích h p t link trên, sau đó đ c h ng d n ướ
Installing the SDK. (http://developer.android.com/sdk/installing.html)
5