I have created two activities in my android application.
The variable is declared in the activity 1. Now I want to use that variable, update it's values in activity 2 as well as activity 1 simultaneously. And the activities should use the latest values for that variable.
I guess we can do this using Intents, but I want to know any other simpler method.