Hi Guys,

Having a bit of trouble preventing keeping links in the loaded view to
not open up the browser. Can someone please help.

Regards,

Mike

//

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;


public class MyWeb extends Activity {
    /** Called when the activity is first created. */
        WebView mWebView;

        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);

            mWebView = (WebView) findViewById(R.id.webview);
            mWebView.getSettings().setJavaScriptEnabled(true);
            mWebView.loadUrl("http://example.com";);
        }


}

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to