Game Development Reference
In-Depth Information
Figure 1-21. Creating a New Blank Activity
On the left-hand side of the Eclipse IDE in the Package Explorer window, you should see a new
entry called “RobsHelloWorld,” which is our new example program. The key directories are the
“src” directory, where the Java source code is stored; the “libs” directory, where external libraries
are stored; and the “res” directory, where resources such as graphics, 3D models, and layouts are
stored. Under the “res” directory, the “layout” directory stores the application's graphical layout
specifications; the “menu” directory stores the applications menu-related layout information; and
the “values” directory stores the actual “Hello World” string that is displayed. Finally, a key file is
the AndroidManifest.xml file, which contains information about permissions and other application
specific information. (See Figure 1-22 for the layout of the “RobsHelloWorld” project.)
 
Search WWH ::




Custom Search