i try a simple webView appication. and this is my code :
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
se
You have to override the standard behavior, which launches the browser when links are clicked. Use a WebViewClient's shouldOverrideUrlLoading(). There is an example of this in the SDK (copied below for convenience).
private class HelloWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return true;
}
}
...then you just call someWebView.setWebViewClient(new HelloWebViewClient());
.