Reputation: 6134
I am trying to access internet (http://www.google.co.in/) through my project say "WebViewDemo".
It works fine in device but not in emulator.
I am able to access internet (http://www.google.co.in/) through the browser of the emulator. But my project displays "Web Page is not available
".
I am behind a proxy. I have added INTERNET permission in the AndroidManifest.xml file
Upvotes: 0
Views: 230
Reputation: 13552
Try this
In Eclipse:
Window>Preferences>Android>Launch
In the Default emulator options, put the value -dns-server 8.8.8.8,8.8.4.4
If this does not work, check this post How to set Internet options for Android emulator?
Upvotes: 0
Reputation: 5564
you can toggle internet by pressing F8 button. Try to tern it on... you will able to see 3G symbole in status bar.
Upvotes: 0
Reputation: 22493
No need to add any thing for getting internet on emulator , if you have internet for your PC, you can get internet on emulator.
Upvotes: 1