I had the same problem and fixed it when I realized that the <uses-
permission android:name="android.permission.INTERNET" /> must be
placed above the <application> tag.

Geir

On Sep 4, 12:14 pm, RPO <[EMAIL PROTECTED]> wrote:
> I have the same problem with the new version (0.9) of the SDK.  The
> following code:
>
> package com.good.atg.browserSample;
>
> import android.app.Activity;
> import android.os.Bundle;
> import android.webkit.WebView;
>
> public class BrowserSample extends Activity {WebViewbrowser;
>
> public void onCreate(Bundle icicle)
> /* Called when the activity is first created. */
> {
> super.onCreate(icicle);
> setContentView(R.layout.main);
> browser=(WebView)findViewById(R.id.webkit);
> browser.loadUrl("http://www.google.com";);
>
> }
> }
>
> produces the "Web page not available" message.  And yes, I added
>     <uses-permission android:name="android.permission.INTERNET" />
> to my AndroidManifest.xml file.  I am running on a Windows system, not
> a Mac, by the way.
>
> Robert O'Hara
>
> On Aug 21, 6:36 am, "Guillion Didier" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > Hi,
>
> > IswebView.loadUrlis supposed to work on a real URL like 
> > "http://www.google.com"; or can only access to local files?
>
> > This provide a "Web page unvailable" error on my Mac.
>
> > If yes, Is this can be related to the fact I use a proxy ?
>
> > Best regards
>
> > --
> > Didier Guillion - Myriad
> > Web site:http://www.myriad-online.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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