Please don't double post if you don't get any responses... It just makes for more stuff to sift through. Instead, reply to your own post. Everyone will then get an email which will bring the post back to the forefront.
---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Tue, Aug 3, 2010 at 12:48 PM, Dean-O <rockie1...@gmail.com> wrote: > Both activities are in the same package > > Second activity uses second layout file > > setContentView(R.layout.main2); > > Errors on this line in the second activity > > EditText text1 = (EditText) findViewById(R.id.EditText03); > > Here is the layout file for the second activity > > <?xml version="1.0" encoding="utf-8"?> > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > > > > <LinearLayout > android:id="@+id/LinearLayout01" > android:layout_width="wrap_content" > android:layout_height="wrap_content"> > > <TextView > android:id="@+id/TextView01" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:text="Answer Is : "> > </TextView> > > <EditText > android:id="@+id/EditText03" > android:layout_width="wrap_content" > android:layout_height="wrap_content"> > </EditText> > > </LinearLayout> > > <Button > android:id="@+id/Button01" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:onClick="onClick" > android:text="Calling an intent"> > </Button> > > </LinearLayout> > > Here are the errors in the LogCat window > > 08-01 19:32:20.340: WARN/ResourceType(8875): No package identifier > when getting value for resource number 0x00000005 > > 08-01 19:32:20.390: ERROR/AndroidRuntime(8875): Caused by: > android.content.res.Resources$NotFoundException: String resource ID > #0x5 > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. > For more information about this change, please read [http://goo.gl/xkfl] > or visit the Group home page. > > Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. For more information about this change, please read [http://goo.gl/xkfl] or visit the Group home page. Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en