A) I do some logging of information if a user goes back to a page from a back button versus some other way of accessing the page. B) I had tried the startActivityForResults but was curious what other way people have done it.
On Mar 11, 12:02 am, TreKing <treking...@gmail.com> wrote: > On Wed, Mar 10, 2010 at 6:47 PM, Sam <samm...@gmail.com> 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 > deviceshttp://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 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