ANDROID – Pass data between 3 activities

Android applications are made up of one or more activities. And as you move from screen to screen in your app, you may need to share information between the various activities e.g the username, current score etc. This is easy enough when you are just passing information back and forth between two screens (activities), but needs a slight tweak if you need to pass data between more than 2 activities. For example, I earn 10 points on screen A, I click through to screen B to check my points balance to see if I have enough points to buy a new weapon? Yay, I do! So I click through to Screen C to buy a fancy new sword, which I would like to use back in Screen A. Continue reading…