BTW, I'm planning on buying your book.. (might as well do that in the morning)
I can only go so far with developer.android On Jun 19, 12:15 am, Logik <[email protected]> wrote: > Thats what I was looking for! > > Greatly appreciated > > On Jun 18, 11:49 pm, "Mark Murphy" <[email protected]> wrote: > > > > I have a situation where an activity needs to know where it was > > > started from, > > > so it knows what data to display in that current activity. > > > Put an "extra" in the Intent that launches it that specifies its origin > > (e.g., putExtra(ORIGIN_KEY, STARTED_FROM_HERE); versus > > putExtra(ORIGIN_KEY, STARTED_FROM_THERE)). Then, examine the extra in the > > launched activity (e.g., getExtra(ORIGIN_KEY)). > > > -- > > Mark Murphy (a Commons Guy)http://commonsware.com > > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

