1、adb shell

2、qlite3 /data/data/com.android.providers.settings/databases/settings.db

3、INSERT INTO system VALUES(99,'http_proxy', '192.168.0.245:8080');

 

System.getProperties().setProperty("proxySet", "true");
System.getProperties().setProperty("http.proxyHost", strAddr);
System.getProperties().setProperty("http.proxyPort", strPort);
Authenticator.setDefault(new MyAuthenticator(strUsername, strPasseord));

相关文章:

  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2021-10-20
  • 2021-07-08
  • 2021-08-21
猜你喜欢
  • 2022-02-09
  • 2021-07-15
  • 2022-01-04
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案