Friday, August 14, 2009

Loading Sample Projects from Eclipse to Emulator

Assuming that Android SDK, Eclipse SDK and Android Development Tools are updated.
  1. Open Eclipse.
  2. File->New->Android Project
  3. New Android Project window comes up. Select: Create project from existing source; Provide-> Location: (Browse to the current folder having sample examples. In case of Android 1.5, samples are located in Platforms\android-1.5\samples).

  4. Choose Build Target -> Android 1.5
  5. Right click on the project -> Snake -> Run as -> Android Application
  6. Check the log window below. It will show the status of the Snake, getting installed on the android emulator.
  7. The application gets loaded on the emulator and the screenshot is as follows:
  8. When you hit 'Up' tab,the game will run.

No comments: