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>
网名:@"老舟"
兴趣:@"影音,阅读"
动态:@"系统架构设计,Android通信模块开发"
网址:@"http://kilonet.cnblogs.com"
签名:@"--------------------------------------------------
Stay Hungry , Stay Foolish
求 知 若 渴,处 事 若 愚
--------------------------------------------------"
]; // Never Release