android emulator连接internet

1.0 注册IP AND PORT

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

 

2,0 查新系统信息以便核实

sqlite3 /data/data/com.android.providers.settings/databases/settings.db "SELECT * FROM system"

 

 

3.0 重新启动Android模拟器

 

4.0 删除注册信息

sqlite3 /data/data/com.android.providers.settings/databases/settings.db "DELETE FROM system WHERE _id=99"

 

 

你可能感兴趣的:(android)