Game Development Reference
In-Depth Information
Figure 2-11. OpenGL ES 2.0 working, but with a lower frame rate
Despite the issues we've outlined in this section, the new emulator acceleration is a welcome
addition to the Android SDK and we recommend trying it out for your game if you choose not to
test exclusively on a device. There are many instances where it will work well, and you'll likely
find that you have faster turnaround times testing, which is what it's all about.
Running an Application
Now that you've set up your devices and AVDs, you can finally run the Hello World application.
You can easily do this in Eclipse by right-clicking the “hello world� project in the Package
Explorer view and then selecting Run As ➤ Android Application (or you can click the Run button
on the toolbar). Eclipse will then perform the following steps in the background:
1.
Compile the project to an APK file if any files have changed since the
last compilation.
2.
Create a new Run configuration for the Android project if one does not
already exist. (We'll look at Run configurations in a minute.)
 
Search WWH ::




Custom Search