Ok this is what I now have and it still is not adding webkit to R.java <?xml version="1.0" encoding="utf-8"?> <TextView android:id="@+id/webkit" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"/> On Fri, 2009-01-30 at 12:23 +0530, PRATAP SOLAPUR wrote: > spelling mistake...............make it xmlns:android > > On 1/30/09, Kevin J. Brooks <[email protected]> wrote: > > I have the following code in a separate xml file from > main. When I save > the file it it does not add webkit into R.java. > > <?xml version="1.0" encoding="utf-8"?> > <TextView adroid:id="@+id/webkit" > xlmns:adroid="http://schemas.android.com/apk/res/android" > android:layout_width="fill_parent" > android:layout_height="fill_parent"/> > 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 -~----------~----~----~----~------~----~------~--~---

