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

Reply via email to