My WebView does not launch with a normal URL
I have done everything I could, The browser is simply not launching…
I have tried attaching webclient too, doesnt works. I have the internet permission in the manifest. Could anyOne help me here? 🙁
Its so simple and its not workin.
void somemethod()
{
WebView myWebView = new WebView(mycontext);
myWebView.loadUrl("http://stackoverflow.com/questions/5066778/android-html-image-prob");
}
This is not the code to launch a browser bro. This is the code to open url into the embedded webview inside the app.
To open the url in Android’s default browser try this
To open a url into the embedded browser, embed a webview in a layout and then call the second line in your code.