The normal behavior would be for the user to return to activity B. You must be doing something more than you describe here.
Fwiw, this might be useful: http://code.google.com/android/intro/appmodel.html Also from a command like prompt, "adb shell dumpsys activity" while the emulator is running will let you see the current state of the activity stack in the system. On Aug 20, 9:30 pm, Gil <[EMAIL PROTECTED]> wrote: > I have an Activity A (the main activity) which invokes > startActivityForResult with an ACTION_EDIT Intent and the associated > data URI, to launch Activity B. While Activity B is displayed, the > user hits the "Home" button. From the home screen if I click my > application icon the application displays Activity A which is my main > activity. I would like it to display Activity B and restore the data > URI of the item I was editing. What is the correct way to implement > this behavior? --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

