Android Development Tools (ADT) plugin dnh cho Eclipse gn phn m rng cho Eclipse IDE. N cho php ta to v debug ng dng Android application nhanh hn v d hn. u im 1.Cho php s dng cc cng c pht trin Android (Android development tools) t bn trong Eclipse IDE. V d: Chp screenshot, Debug / t cc breakpoint, v Xem thng tin v thread v process trc tip t Eclipse. 2. New Project Wizard gip ta nhanh chng to v set up tt c cc file c bn m ta s cn cho mt ng dng Android mi. 3. N t ng ha v n gin ha quy trnh xy dng ng dng Android. 4. N cung cp mt trnh son tho m Android gip ta vit m XML cho Android manifest v resource file. 5. N s export project ca ta thnh mt signed APK giao cho ngi dng.
2
Tng quan v cc bc ci t Android SDK: 1. Chun b my tnh p ng c cc yu cu h thng. 2. Ci gi SDK starter ly t trang web link trn. 3. Ci ADT Plugin cho Eclipse (nu s dng Eclipse vit ng dng). 4. B sung cho SDK cc Android platform v cc component khc. 5. Xem ni dung ca Android SDK (ty chn). bt u, ti gi ci t thch hp t link trn, sau c hng dn Installing the SDK. (http://developer.android.com/sdk/installing.html)
2. ci Eclipse (c th ti t http://www.eclipse.org/downloads/ (Vi Eclipse 3.5 hoc mi hn, nn dng bn "Eclipse Classic.
Figure 1. The Android SDK and AVD Manager's Available Packages panel, which shows the SDK components that are available for you to download into your environment.
9
Eclipse 3.6 (Helios) and Indigo 1.Start Eclipse, then select Help > Install New Software.... 2.Click Add, in the top-right corner. 3.In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/ Note: If you have troubles try using "http" instead of "https Click OK. 4.In the Available Software dialog, select the checkbox next to Developer Tools and click Next. 5.In the next window, you'll see a list of the tools to be downloaded. Click Next. 6.Read and accept the license agreements, then click Finish. 7.When the installation completes, restart Eclipse.
10
Done!
11
12
13
14
http://www.hometutorials.com/google-android.html
Nm video, hi c (SDK1.0) nhng vn hu ch. 1. How to setup Java. 2. How to install Eclipse IDE 3. Application development: Hello World using Eclipse + Android
15
16
1. 2. 3. 4. 5.
Go to http://developers.sun.com/downloads/ Expand choice Java SE. Click on: Java SE (JDK) 6 From the list of choices select the most recent Java SE JDK (Update 14 in our case). Click on the Download button
17
1. 2. 3. 4.
On the next screen select Platform (Windows) and accept license agreement. Hit the Continue button. Check box: Java SE Development Kit 6u14 and click on the download (arrow) symbol Save file to c:\
18
5. Execute the downloaded file: jdk-6u14-windows-i586.exe 6. Click on Accept button to agree on licensing. 7. Note the Java folder location. Click on Next to complete installation.
19
20
21
Hello, Android
22
23
25
26
27
28
Questions ?
29
7. Three GOOD videos from Google (Architecture, Interprocess Comm, APIs) 1. http://www.youtube.com/watch?v=QBGfUs9mQYY&eurl=http://developerlife.com/theblog/?p=454 2. http://www.youtube.com/watch?v=fL6gSd4ugSI&feature=related 3. http://www.youtube.com/watch?v=MPukbH6D-lY&feature=related 8. More APPs (Google President, HelloWorld, PhoneLocator) http://www.youtube.com/watch?v=1FJHYqE0RDg&feature=channel http://www.youtube.com/watch?v=I6ObTqIiYfE&feature=channel http://www.helloandroid.com/taxonomy/term/29
30