tags:

views:

23

answers:

0

Hi,

I am facing problem loading some url's in the web view through my app. I am using simple code to just laod the url. Some url's are loading fine but some like the Facebook pages are showing that web page is not available. I could open the url on my system but cant do it through web view. Is is the coding problem or web page issue...

I m using following code...

public void onCreate(Bundle si){
    super.onCreate(si);
       setContentView(R.layout.webviewreqest);
      WebView  mWebView = (WebView) findViewById(R.id.webviewser);
        mWebView.getSettings().setJavaScriptEnabled(true);
         mWebView.loadUrl("http://xyz.com");
}