Wednesday, April 11, 2012

Web page not available while using Android WebView

Error

"Web page not available"

while using Android WebView

Solution

Add the following permission tag in the manifest file, also make sure it is placed directly after the manifest tag not inside Application or Activity tags

<uses-permission android:name="android.permission.INTERNET"></uses-permission>


2 comments:

  1. Sorry, but it is not working, any other idea???????????
    Please post it at harishrahate@gmail.com

    ReplyDelete
  2. I assume you have the "uses-permission" tag in the manifest file.

    How do you specify the url? Make sure it starts with "http://" or else it won't work. For example, use "http://blogger.com" and *not* "blogger.com". Hope this helps.

    ReplyDelete