I have 2 activities . Activity 1 has Information. Activity 2 has a form to update Information in Activity 1 . How can i return yo Activity 1 and show updated information ? When i move from activity to another should i use finish () ?
Starting another activity doesn't have to be one-way. You can also start another activity and receive a result back. To receive a result, call startActivityForResult() (instead of startActivity()).
For example, your app can start a camera app and receive the captured photo as a result. Or, you might start the People app in order for the user to select a contact and you'll receive the contact details as a result.
Of course, the activity that responds must be designed to return a result. When it does, it sends the result as another Intent object. Your activity receives it in the onActivityResult() callback.