Thursday, May 15, 2014

How to Run API Demos on Android



1. Download Android's Software Development Kit (SDK) to your computer from Android's website. Launch SDK and open the Android Virtual Device, which allows you to model an Android device on your computer.

2. Select 'Available Packages' in the SDK's left window, bringing up a list of components you can download from the SDK. Click on the appropriate samples -- API Demos is the samples directory -- verify your choices and click 'Install' again. SDK will install the components of the samples on your virtual Android system.

3. Open Eclipse, Google's Android-environment emulator, and run the code for the selected samples. Once you understand the code, you can incorporate it into your own apps or modify it to something more useful to you. When you've incorporated the code into your work, run everything on the emulator again to confirm it performs properly.

No comments:

Post a Comment