开发者

Proxy development in Android source code

开发者 https://www.devze.com 2023-02-26 15:24 出处:网络
I am trying to build a proxy for Android in the source and I need to set the proxy option under \'Settings\'.

I am trying to build a proxy for Android in the source and I need to set the proxy option under 'Settings'.

After researching in the internet, I found out that there is a 'settings.db' file in /data/data/com.google.android.providers.settings/databases/ path, into which values are inserted into the table named 'system'. This works for the emulator (either by starting the emulator at runtime with parameters or by adb shell).

Question is, will the same approach as mentioned above, incorporated into a class file and built into source, be suitable for setting the proxy?

If at all, this method is feasible, will the browsers and the other apps which use internet, be able to detect the proxy?

Thanks in advance, for any help and suggestions.

P.S. I will be flashing the code to a dev phone开发者_如何转开发.

Thanks, Anu

0

精彩评论

暂无评论...
验证码 换一张
取 消