I have used below steps for setup the my emulator
1.C:\Program Files\android-sdk-windows\tools>adb shell
-
# sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db -
sqlite> INSERT INTO system VALUES(99,’http_proxy', '10.10.8.1:8080');
after that i closed adb shell command prompt and my emulator. and then opened my emulator but webbrowser is not opening any page(web page not available messaage) .
Please any one tell me the solution for this problem.
is any other way to connect net in android emulator?
Regards,
Jeyavel N
I had the same problem. I couldn’t force my emulator to use proxy. I tried to run the emulator with -http-proxy but it didn’t work. I believe it’s an equivalent for what you did with sql lite. If you need internet just on browser, you could try to set APN in your emulator (Home > Menu > Settings > Wireless Controls > Mobile Networks > Access Point Names) there you can set your proxy. It worked for me, but it wasn’t what I was looking for.
Well, to be honest I’m afraid that the only option is to redirect traffic on your local system. I didn’t try this, but maybe such application can do this:TunnelEx
I hope that works.
Regards!