Hey Suneel..

I have tried ur exact code,and it is working fine.
Here is the link of code .
http://www.zshare.net/download/96129810662dde22/


Sumeet

On Tue, Nov 15, 2011 at 9:51 AM, Sunil Mishra <[email protected]>wrote:

> @Sumeet and Narendra
>
> Yes i have given the permission in manifest.
>
> No error is coming, the webview is unable to load the page!
>
> The code is
>
>  WebView webView = (WebView) findViewById(R.id.webView1);
>        webView.setWebViewClient(new webviewclient());
>        webView.getSettings().setJavaScriptEnabled(true);
>                webView.loadUrl("http://www.google.com";);
>
>
> public class webviewclient extends WebViewClient {
>
>        @Override
>        public boolean shouldOverrideUrlLoading(WebView view, String url) {
>                // TODO Auto-generated method stub
>                view.loadUrl(url);
>                return true;
>
>        }
>
> }
>
> On Nov 14, 2:32 pm, sumeet gupta <[email protected]> wrote:
> > Hi Sunil
> >
> > Have u given the permission to your app for using internet in menifest?
> >
> > Sumeet
> >
> > On Mon, Nov 14, 2011 at 2:53 PM, Sunil Mishra <[email protected]
> >wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > Hi,
> >
> > > I am trying to loadhttp://www.google.comin webview in emulator. But
> > > it is unable to load the same.
> >
> > > When i try the same with browser, it works fine!
> >
> > > Please help!
> >
> > > --
> > > 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
> >
> > --
> > Sumeet
>
> --
> 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
>



-- 
Sumeet

-- 
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