1. Add Android tools to the Windows environment variable path, D: \ Android \ android-sdk_r3-windows \ Android-SDK-Windows \ tools \.
2. Start the android simulator in two ways.
Method 1: Open the command line window (shortcut: Windows key + r) and enter emulator-AVD in cmd. <youravdname>
In the second method, right-click the android project of eclipse and choose run as> Android Application to run the project.
3. on the window, open the command line window and enter the ADB shell command under cmd. This command is used to enter the Linux System of the simulator. (If the command cannot be identified, check whether the environment variable settings are correct or enter the command in the tools directory of Android)
4. Run the following command in ADB shell mode:
Sqlite3/data/COM. android. providers. settings/databases/settings. DB "insert into system values (99, 'HTTP _ proxy', '10. 10.26.252: 1080 ')"
5. Run the query command in ADB shell mode.
Sqlite3/data/COM. Android. providers. Settings/databases/settings. DB "select * from System"
6. Restart the android simulator,ProgramYou can log on to the HTTP website.