-1

I new to android studio and java in general. I am wondering if there is a good way to send data to multiple activities. I have 6 activities in my app right now, on the first activity the user will enter text. I have figured out how to make this text go from the first activity to the second activity. But I also want this text to show up on my 6th activity which is a summary page. Is there an easy way to do this?

Thanks in advance!

Ratish Bansal
  • 1,982
  • 1
  • 10
  • 19

1 Answers1

1

You might want to try SharedPreferences, which saves information into the phone.

From Android guides:

If you don't need to store a lot of data and it doesn't require structure, you should use SharedPreferences. The SharedPreferences APIs allow you to read and write persistent key-value pairs of primitive data types: booleans, floats, ints, longs, and strings.

You can find more than enough tutorials online. Some of them are:

S. Czop
  • 602
  • 1
  • 6
  • 17