Reputation: 8317
I've got an app that launches another activity via startActivityForResult. Everything works great if the user exits the invoked Activity via back button, however if the user presses Home instead, the invoked Activity exits and onActivityResult never gets called.
Is this expected behavior or should this work?
Upvotes: 0
Views: 596
Reputation: 56925
Difference Between Pressing Home Button and Back Button.
By default, pressing the Back button finishes (destroys) the current activity and displays the previous activity to the user.
By Default , pressing the Home Button activity is stopped and moved to the background rather than being destroyed
More in Details - Read Navigating Away from an Activity with Back and Home buttons
Upvotes: 1