Xiao Peng

My personal blog moves to xiaopeng.me , blogs about design patterns will be synced to here.
肖鹏,ThoughtWorks资深咨询师,目前关注于架构模式、敏捷软件开发等领域,并致力于软件开发最佳实践的推广和应用。
多次为国内大型企业敏捷组织转型提供咨询和培训服务,在大型团队持续集成方面具有丰富的经验。
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

Proxy with Android Emulator

Posted on 2008-10-10 11:37  勇敢的鸵鸟  阅读(9450)  评论(0)    收藏  举报

Android proxy setting

1. Launch adb shell from your-android-folder\tools. [adb shell]

954@952_976c23843d724c186bb9267806413f56

2. Find db file. Normally - /data/data/com.android.providers.settings/databases/settings.db

958@952_f5144199304e6e5b82a95754ecec74b3

3. Launch sqlite. [sqlite3 /data/data/com.android.providers.settings/databases/settings.db]

960@952_2162bdbc85ab64df68277343e70b37e2

4. Check the databases and tables

962@952_34f2240e9deaa52244ecd920be598b8d

Note: the setting of proxy should be inserted into table system

5. Insert proxy setting

insert-proxy

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.