Hi, I need to set the proxy through my code in android devices upwards of Android 2.3.3. The only method which I know of right now is doing it through the shell in the emulator:
1. > adb shell 2. # sqlite3 /data/data/com.android.providers.settings/databases/settings.db 3. sqlite> INSERT INTO system VALUES(99,’http_proxy', 'proxy:port'); 4. sqlite>.exit Does android provide an API to do this from within the code or is there any other elegant way out? Moreover, I saw a new API introduced from Android 4.0 onwards called the "VpnService" for establishing VPN connections. Can we set a proxy programmatically by using the VpnService.Builder class? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

