Development Environment:
Win XP + eclipse-jee-helios (version 3.6) + ADT (version 10.0.1) + Android SDK (version 10 );
Test environment for simulators and real machines: Android2.2
Some applications need to be deployed on real mobile phones for testing. How can we deploy the developed applications on real mobile phones? The procedure is as follows:
1. Install the mobile phone driver on the PC.
2. Use a USB cable to connect the mobile phone to the USB interface of the PC.
In the Eclipse development environment, use Window-> Show View-> Other-> Android to open the device View.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/101241B14-0.png "title =" 4.png"/>
Figure 1
In this case, the view of the real mobile phone will appear in the device view in the development environment. 2 is the view of the test mobile phone.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1012415J3-1.png "title =" 5.png"/>
Figure 2
Note: If the device monitoring view does not have a real machine view, the installation of the mobile phone driver fails. Of course, this problem generally does not occur. What guard and Butler on the PC can solve these problems.
After the above steps are completed, you can use the screen monitoring tool to observe the real machine, 3
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1012415I0-2.png "title =" 6.png"/>
Note: download and install the screen monitoring tool:
The method for deploying a simulator is similar to that for deploying a simulator. Instead of selecting a simulator, you can choose a real test mobile phone. The running result is as follows:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1012413542-3.png "title =" 7.png"/>
In this case, the phone number can be called. The above is how to deploy a developed application to a real mobile phone.
This is only when developers deploy the application to a real machine during testing. How can they publish the developed application for users to download and install it?
1. Package the software into a. APK file.
In the Eclipse development environment, select project> Export> Android> Export Android Application (Export as Android Application, you need to sign this software. Instead of using the debug key provided by the system, you must sign it with our own key (representing our identity, prove that this software was developed by ourselves or by our company. The procedure is described as follows:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/101241F49-4.png "title =" export as Android app "/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/101241D59-5.png "title =" exported project "/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1012415529-6.png "title =" Key location and password "/> 650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1012412317-7.png "title =" certification information "/>
The license file is placed in the mobile phone's SDCard. on the mobile phone, install the app on the mobile phone through the file browser.
This article from the "Flowers bloom" blog, please be sure to keep this source http://020618.blog.51cto.com/6098149/1293082