> Hi I need to pass 1 or 2 string var to a new activity when I start them
> via
> a intent
>
> How do I pass them in from activity 1 and then how do igrab them in my
> activity2?

Use putExtra() and getStringExtra() on Intent.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to