Sending data back to the Main Activity in Android

I have two activities: main activity and child activity.
When I press a button in the main activity, the child activity is launched.

Now I want to send some data back to the main screen. I used the Bundle class, but it is not working. It throws some runtime exceptions.

Is there any solution for this?

13 Answers
13

Leave a Comment