让Android emulator中的browser上网
2010-06-02 14:08:00 来源:WEB开发网核心提示:Android proxy setting1. Launch adb shell from your-android-folderools. [adb shell]2. Find db file. Normally - /data/data/com.android.providers.settings/database
Android proxy setting
1. Launch adb shell from your-android-folder ools. [adb shell]
2. Find db file. Normally - /data/data/com.android.providers.settings/databases/settings.db
3. Launch sqlite. [sqlite3 /data/data/com.android.providers.settings/databases/settings.db]
4. Check the databases and tables
Note: the setting of proxy should be inserted into table system
5. Insert proxy setting
6. Check the setting with "select * from system;"
This line - 99|http_proxy|your-proxy:proxy-port - is inserted.
7. Launch browser from emulator and access Internet behind proxy.
[]
更多精彩
赞助商链接