CHAPTER 3: An Introduction to the Android Application Development Platform 73
- Since you’re going to learn how to create your own custom Android Activity
class, as well as your own custom UI design from scratch, I am going to
select the first Blank Activity option, after making sure that the Create
Activity checkbox is selected.
I am selecting this option so that you can see what the “minimum application bootstrap code” that
Eclipse ADT will write for you will include, so that you learn how to code an Android application
from the lowest possible level, and with the most control over Java code and XML markup that you
yourself put into place.
- Once you click on the Next button, you will be ready to fill out the final dialog
in the New Android Application Project series of dialogs, where you will
specify names for your Java code (Activity class), XML markup (UI design)
and a UI navigation type. Let’s do that now so that we can take a look at
what Eclipse ADT creates for you using this series of dialogs, as that is really
where you will start to learn how an Android app is structured!
Figure 3-6. The Create Activity dialog, showing the default Blank Activity selected option