Ok, I think I am making this harder than it has to be. What else do I
need in my application to make this work?
On Tue, 2009-01-13 at 18:04 +0530, PRATAP SOLAPUR wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---