On Tue, Dec 28, 2010 at 11:52 PM, maomaostevencao <
maomaosteven...@hotmail.com> wrote:

> If I want to load a new activity and pass some of arguments using this
> way, I have to get the reference of this new activity, but seems platform
> doesn't provide any API to get it. How can you do it? I mean how I can get
> the reference of the new activity


You do not need a reference to the new activity. You launch an intent with
the proper variables, then the new activity is launched and within it you
use getIntent() to get the Intent that launched it, including any variables
you passed along.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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