I was able to access internet in the past from Android 2.2 emulator but suddenly it stopped working. Problem was, I was behind firewall and I had to access internet using proxy server. I searched for solution and I found following command which worked for me.
Steps:
If you are trying to access internet from any app, make sure you have set following internet access permission in your
Steps:
- Go to "<android-sdk-home>"
directory and go to tools folder from command prompt. - Type command: emulator -avd
-verbose -http-proxy http:// host-id:port
If you are trying to access internet from any app, make sure you have set following internet access permission in your
AndroidManifest.xml: <android:name="android.permission.INTERNET" />
No comments:
Post a Comment