iPaul Pro wrote: > setContentView(R.id.myTextVie); > > should be > > setContentView(R.id.main);
Actually, it should be: setContentView(R.layout.main); R.layout is for the layout files; R.id is for widgets (among other things). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

