The following code used to work in the 0.5 SDK release... what am I
missing now?

I have
   <uses-permission android:name="android.permission.INTERNET" />
within my AndroidManifest.xml file.  The browser built into the
emulator works fine.

Thanks, Bob O'Hara
---
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) {
super.onCreate(icicle);
setContentView(R.layout.main);
browser=(WebView)findViewById(R.id.webkit);
}

public void onStart() {
super.onStart();
browser.loadUrl("http://www.google.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to