Previous  Table of Contents  Next  

  Android Tools - Lightweight IDE for Android  
     
 

GETTING STARTED

Import, Build, Install and Test API Demos Application

Note: In the steps below, you select the Basic tab in the Android Tools window then left and right click the boxes. If you so desire, you could also select the Advanced tab then left and right click the boxes and nodes there.
  1. Start Android Device Emulator:
    1. Click the Basic tab (default) in the Android Tools window.
    2. Click the Android Virtual Device box in the Basic tab then click MyAVD1 (default) in the popup list.
    3. Right click the Android Virtual Device box then click Emulator in the popup menu.
    4. Wait until Android appears in the top right corner of the Android phone in the MyAVD1 window (this takes several minutes).
    5. Drag the Unlock icon in the Android phone to the right to unlock the Android phone in the MyAVD1 window.
    6. Wait until the Launcher icon appears at the bottom of the Android phone.
    7. Click the Launcher icon.
    8. Wait until the application icons appear.
    9. Scroll to and click the Settings icon.
    10. Scroll to and click Languange & keyboard.
    11. Click the checked Japanese settings to deselect them.
    12. Click the Back key above the keyboard two times.
    13. Wait until the application icons appear in the Android phone.
    14. Right click the Android Device box in the Android Tools window then click List in the popup menu.
    15. Wait until emulator-5554 appears in the List Android Devices window.
    16. Click X in the top right corner of List Android Devices window.
    17. Click the Android Device box in the Android Tools window then click emulator-5554 in the popup list.

  2. Import API Demos Application:
    1. Click the Project Directory box in the Android Tools window then click blank in the popup list.
    2. Right click the Project Directory box then click Import in the popup menu.
    3. Double click android-10 in the Input dialog.
    4. Click ApiDemos then click Import.
    5. Click Yes in the Confirm dialog.
    6. Wait until the import completes.
    7. Verify that ApiDemos appears in the Project Directory box in the Android Tools window.

  3. Update API Demos Application:
    1. Right click the Project Directory box in the Android Tools window then click Update in the popup menu.
    2. Wait until the Updated default.properties, local.properties and build.xml files appears twice in the Update Android Project window.
    3. Verify that the default.properties, local.properties and build.xml files appear in the Android Tools window.
    4. Click X in the top right corner of the Update Android Project window.

  4. Build API Demos Application:
    1. Right click the Project Directory box in the Android Tools window then click Build | debug in the popup list.
    2. Wait until Build Successful appears in the Build Ant Target window.
    3. Click X in the top right corner of the Build Ant Target window.

  5. Install API Demos Application in Android Device Emulator:
    1. Right click the Project Directory box in the Android Tools window then click Install | debug in the popup menu.
    2. Wait until Success appears in the Install Android Application window.
    3. Click X in the top right corner of the Install Android Application window.
    4. Verify that the API Demos icon appears in the Android phone in the MyAVD1 window.

  6. Test API Demos Application in Android Device Emulator:
    1. Click the API Demos icon in the Android phone.
    2. Wait until API Demos appears in the Android phone.
    3. Click Graphics under API Demos.
    4. Click Arcs under API Demos.
    5. Wait while the arcs are drawn.
    6. When done, click the Back key above the keyboard three times.
    7. Wait until the application icons appear in the Android phone.

  7. Uninstall API Demos Application in Android Device Emulator:
    1. Right click the Project Directory box in the Android Tools window then click Uninstall in the popup menu.
    2. Wait until Success appears in the Uninstall Android Application window.
    3. Click X in the top right corner of the Uninstall Android Application window.
    4. Verify that the API Demos icon no longer appears in the application icons in the Android phone.

  8. Stop Android Device Emulator:
    1. Click X in the top right corner of the MyAVD1 window.
 

 
Get Android Tools from Field Bird at SourceForge.net Previous  Table of Contents  Next