Android can promote innovation of mobile devices and provide users with the most advantageous mobile services. At the same time, developers will also get a new open platform, develop useful and attractive mobile services and promote these products.
This is a more android development document. My first Android Development Project is to display a simple Hello World on the screen. First, we will introduce several concepts: AVD. AVD is fully called Android Virtual Device, which is a Virtual Device running Android. It is recognized by the Android simulator and then runs the Android program we wrote.
To run the Android program, you must create your own AVD. You can configure many running projects on each AVD. There are two ways to create AVD. The first is the Elcipse development environment, and the second is the creation through the command line. Create an Eclipse Development Environment: Select Android AVD Manager under Windows in the Elcipse menu, and the following form is displayed:
In name, enter the AVD name. In Target, select the class library (Android 1.1, Android1.5, or Google APIs 1.5), create the SDCard and skin, and click Finish. Create a command line: Find the path of Tools in command line mode.
The parameter is followed, the Create avd is the creation AVD, the target 2 is the level, and the Android program name. Create the first Android development project: This is automatically generated by the Android plug-in, which inherits the Activity class. This class is a Class running android, which is simply an interface.
The content in the gen folder is automatically generated. You are not advised to manually modify the content in this folder. The res folder contains resources used by android. drawable is an image, that is, the program icon displayed in Android Devices. Layout is the layout, where TextView is the configuration. Resources are placed in values.