For example i have activity1, activity2, activity3 and lastly valueAllActivity? how do I pass the data from activity1, activity2, activity3 to --> valueAllActivity?
You have several options:
Application
class, which you can then access in your activity by calling the getApplication()
method.Read the documentation for all available ways in which you can store and retrieve data in your application.