Monday, June 4, 2012

Re: [android-developers] about Bundle and Intent?

On Mon, Jun 4, 2012 at 4:33 AM, shengJie <b0091309@gmail.com> wrote:
Activity A,B,C,D let user to edit data, then all Inent and Bundle data to ActivityE ,
how could i Bundle all data into E ?

Call getIntent() in each Activity to get the Intent that started it, then add more stuff to it before passing it on to the next Activity.
 
and how could i determine intent type(A or B or C or D)in E Activity?

Use a different ACTION for each.
 
or what method can i use to determine current intent and set the data?

Read the Activity and Intent documentation.

-------------------------------------------------------------------------------------------------
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate