Intent in = new Intent(getApplicationContext(), Another.class);

            in.putExtra("extra", str);


Hope it helps. That's what I do.

On Tue, Feb 17, 2009 at 2:19 PM, deenybird <[email protected]> wrote:

>
> What intents do I use to pass a variable to another class?  And also
> which intent do I use to receive it?
> thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to