android 模拟器设置代理服务器

1. sqlite 设置代理服务器:

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

删除代理服务器:

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 "SELECT * FROM system"

你可能感兴趣的:(android)