In my application i have two activity .When we enter the data in first activity & click save button . the data should display in the second activity
yes, you can use Bundle
In order to pass data from one activity to another.
您可以使用Intent,Bundles或任何Static变量将数据从一个活动传递到另一个活动
Have a look at the documentation for Activity on how to start a new activity. This also has an example on how to add a 'payload' to the intent, that can then be used in the called activtiy
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.