1

error to startActivity(intent), whats going wrong?

view story
linux-howto

http://stackoverflow.com – Below here in code startActivity(intent) gives me an error Here's my code: public class MyWebViewClient3 extends WebViewClient { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { if (Uri.parse(url).getHost().equals("www.facebook.com")) { // This is my web site, so do not override; let my WebView load the page return false; } // Otherwise, the link is not for a page on my site, so launch another Activity that handles URLs Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); startAct (HowTos)