- Open Eclipse.
- File->New->Android Project
- 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).
- Choose Build Target -> Android 1.5
- Right click on the project -> Snake -> Run as -> Android Application
- Check the log window below. It will show the status of the Snake, getting installed on the android emulator.
- The application gets loaded on the emulator and the screenshot is as follows:
- When you hit 'Up' tab,the game will run.
Friday, August 14, 2009
Loading Sample Projects from Eclipse to Emulator
Assuming that Android SDK, Eclipse SDK and Android Development Tools are updated.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment