0

enter image description hereI 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

Smitha
  • 6,110
  • 24
  • 90
  • 161

3 Answers3

1

No need to add any thing for getting internet on emulator , if you have internet for your PC, you can get internet on emulator.

RajaReddy PolamReddy
  • 22,428
  • 19
  • 115
  • 166
0

you can toggle internet by pressing F8 button. Try to tern it on... you will able to see 3G symbole in status bar.

Mitul Nakum
  • 5,514
  • 5
  • 35
  • 41
0

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?

Community
  • 1
  • 1
Shubhayu
  • 13,402
  • 5
  • 33
  • 30