It's a really good idea to read Application Fundamentals, where you would find: http://developer.android.com/guide/topics/fundamentals.html#acttask
You can also see several examples of this being done in the Android source available here: http://android.git.kernel.org/ On Dec 4, 4:10 pm, Chris <chris.sander...@gmail.com> wrote: > Need an example of how to create/start a new activity from the main > activity. I have a button click event on the main layout. Originally I > just used setContentView(R.layout.secondactivity); which brings up the > layout but I don't think that is correct since the secondactivity > class is not instantiated at this point yet. I have looked for such an > example and can not find one. > > Help please, > > Thanks > > Chris -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en