[android-beginners] Re: Code Example

2009-01-26 Thread Kevin J. Brooks
If I don't want to launch the browser, do I need to create a view in the Manifest? Thanks for you help, Kevin On Tue, 2009-01-13 at 13:08 -0800, James Yum wrote: > Hi, > > You can use a WebView within your app ass Pratap suggested. > > If you want to launch the browser application, it's fairly

[android-beginners] Re: Code Example

2009-01-25 Thread Kevin J. Brooks
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; > > publi

[android-beginners] Re: Code Example

2009-01-13 Thread James Yum
Hi, You can use a WebView within your app ass Pratap suggested. If you want to launch the browser application, it's fairly simple: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com";))); One thing to keep in mind, the browser application will create a separate n

[android-beginners] Re: Code Example

2009-01-13 Thread PRATAP SOLAPUR
* 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.get