On Wed, Mar 10, 2010 at 6:47 PM, Sam <[email protected]> wrote:

> I wanted to know if it is possible to Detect in an Activitiy's
> OnResume if the Activity is resuming because the devices Back button
> was hit or not?
>

A) Why do you want to do this? Sounds hacky.

B) If you start the Activity with startActivityForResult() the first
activity will get it's onActivityResult() function called, indicating that
the activity it started has finished.

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

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