Android development is simple, whether it's on a real-computer debug or a final release to a real machine, as follows:
1. Install USB drive
Mobile phone to be able to connect with the computer, of course, to drive. The effect is that you plug in the phone and the computer shows that the driver is recognized. Official tutorial for driver installation: http://developer.android.com/sdk/win-usb.html
An overview of the official tutorials:
Different Android phones have different drivers for Nexus One, and Nexus S, see the official tutorial "downloading the Goolge USB Driver" section, installed directly with the Android SDK and AVD Manager. For other mobile phones such as Htc,acer,motorola, Sony and so on to the corresponding mobile phone company's website up and down drive, cell phone and mobile phone company website's corresponding list is: http://developer.android.com/sdk/oem-usb.html
There are a lot of mobile phone drivers are packaged like a mobile phone manager, such as HTC, you need to install its 91 mobile phone assistant like the PC Sync client, to connect with the phone. For example, I developed a mobile phone is HTC, its driver (client) is HTC Sync:http://www.htc.com/cn/supportdownloadlist.aspx?p_id=319&act=sd&cat=all
2. Set up Android phone for USB debug mode
Step: Develop with application, menu-> settings, select "USB Debug"
3. Test through eclipse on the real machine
When it doesn't work, the Android app developed with Eclipse is run, then run the simulator. After installing the USB drive of the mobile phone, or point run, the program will magically run on the real machine, the effect is the same as in the simulator, very simple, and faster than with the simulator block a lot.
If there is no effect or is running on the emulator, in Eclipse:
Right-click->run as->run configurations->target
Check out that virtual machine option and run it, and if the previous driver is installed correctly, eclipse will let you choose to run it with that device (with the real machine and your virtual machine optional), then choose the real machine.
4. Release
The Bin folder under the Android project folder will generate xxxxx.apk after successful compilation, which is the executable Android program, you can install your own project like other Android programs with any phone sync tool. Then find your item icon in the Android app directory and you can run it.
How Eclipse Development Android programs run on your phone