I was trying the following example, but with external URLs: Using WebViews
The example shows how to load an HTML file from assets folder (file:// url) and display it in a WebView.
But when I try it with external URLs (like http://google.com), I am always getting a ‘Website Not Available’ error. Android’s built-in browser is able to access all external URLs.
I suspect that it has something to do with permissions, but wasn’t able to confirm it.
I found out the answer myself.
The permission name is android.permission.INTERNET.
Adding following line to the AndroidManifest.xml (nested directly in tag) did the trick:
The file can also be edited graphically in Eclipse plugin through permissions tab.