*
import* android.app.Activity;
*
import* android.os.Bundle;
*
import* android.webkit.WebView;
*
public* *class* BrowserDemo1 *extends* Activity {
WebView browser;
@Override
*public* *void* onCreate(Bundle icicle) {
*super*.onCreate(icicle);
setContentView(R.layout.*main*);
//browser.getSettings().setJavaScriptEnabled(true);
browser=(WebView)findViewById(R.id.*webkit*);
browser.loadUrl("http://www.google.com");
}
}
On 1/13/09, Bear34238 <[email protected]> wrote:
>
>
> I know this is something simple but it has eluded me. Could someone
> provide a code example of launching the web browser inside an adroid
> Application.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---