天堂向右,我依然向左

天下之大,虽离家千里,何处不可往!何事不可为!
生活之路,纵坎坷曲折,当奋斗不息,则精彩纷呈!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

1. 模拟器代理上网:

# sqlite3 /data/data/com.android.providers.settings/databases/settings.db "delete from system where _id=99"

# sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO system VALUES(99,'http_proxy','172.18.101.204:8080')"

# sqlite3 /data/data/com.android.providers.settings/databases/settings.db "select * from  system"

 

2. 启动模拟器,然后进入 settings->Wireless controls->Mobile networks->Access Point Names W) 
然后打开出现在列表中的access point;   
 
然后下面这样设置: 

- Proxy : your proxy address

- Port : your proxy port  
- Username : your username if needed, or <Not set>
- Password : your password if needed, or <Not set>

posted on 2011-01-11 07:59  老舟  阅读(745)  评论(0编辑  收藏  举报