Time for action - starting a new project
The Android SDK provides a handy command-line tool named
android which can be used to generate the skeleton of a new project. You'll find it under the
tools directory of your Android SDK. It's capable of creating a basic directory structure and a
build.xml file (for Apache Ant) to help get you started with your Android application development. You will need to make sure that the
tools directory is in your executable path for this to work. Open a command-line or console.
- Create a new directory in your home directory or desktop named
AndroidUIExamples. You should use this directory for each of the examples in this book.
- Change the directory to the new
- Run the following command:
android create ...