Hello, I am trying to configure http_proxy settings for Internet access from Android emulator (behind a proxy). I tried following options:
1. -http-proxy option using emulator command. 2. setting http_proxy environment and then launching the emulator. 3. Settings proxy using APN settings (Telkilla) (this worked till Android 1.6 version) 4. adding an entry in settings.db <adb shell sqlite3 /data/data/ com.android.providers.settings/databases/settings.db "INSERT INTO system VALUES(101,'http_proxy','10.0.0.27:80');"> adb shell sqlite3 /data/data/com.android.providers.settings/databases/ settings.db "SELECT * FROM system" I also checked -debug-proxy log messages and it showed below messages emulator.exe -avd avd_21 -debug-proxy -http-proxy http://vibhor.mahajan:[email protected]:80 proxy_http_setup: creating http proxy service connecting to: 10.0.0.27:80 server name '10.0.0.27' resolved to 10.0.0.27:80 proxy_http_setup: creating HTTP Proxy Service Footer is (len=63): 'Proxy-authorization: Basic dmliaG9yLm1haGFqYW46eHl6fjEyMzQ= ' http_service_connect: trying to connect to 209.85.231.104:80 http_service_connect: using HTTP rewriter tcp:209.85.231.104:80(1496): cannot connect to proxy: <unknown error> http_service_connect: trying to connect to 209.85.231.104:80 http_service_connect: using HTTP rewriter tcp:209.85.231.104:80(1496): cannot connect to proxy: <unknown error> http_service_connect: trying to connect to 209.85.231.104:80 http_service_connect: using HTTP rewriter tcp:209.85.231.104:80(1456): cannot connect to proxy: <unknown error> http_service_connect: trying to connect to 209.85.231.104:80 http_service_connect: using HTTP rewriter tcp:209.85.231.104:80(1440): cannot connect to proxy: <unknown error> http_service_connect: trying to connect to 10.0.0.22:80 http_service_connect: using HTTP rewriter tcp:10.0.0.22:80(1440): cannot connect to proxy: <unknown error> http_service_connect: trying to connect to 10.0.0.22:80 http_service_connect: using HTTP rewriter tcp:10.0.0.22:80(1440): cannot connect to proxy: <unknown error> Kindly suggest how can we access Internet from emulator (behind a proxy). Thanks, Vibhor -- 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

