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 {
WebView browser;
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,
>
> Is webView.loadUrl is 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 [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---