On Fri, Apr 9, 2010 at 2:54 PM, Justin Anderson <[email protected]>wrote:
> Use Intent.putExtra() to send that information from the first activity. In > the second activity's onCreate method you can get that extra informaton and > do whatever you want with it. As an alternative you can also use SharedPreferences if you need to persist the information (like saving the users's values in the first activity so they can continue where they left off). On Fri, Apr 9, 2010 at 2:44 PM, TimX <[email protected]> wrote: > like how to initialize the second activity inside of the first one. > You don't start activities INSIDE one another, you start them FROM one another, passing information via Intents as Justin suggested. Just to clarify. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android 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

