I'm working on a simple android clicker game. I need to save some data each time the game is closed, such as the current number of clicks or the number of times each upgrade item has been bought. On a PC it can be done with a simple .txt file but I can't seem to find a way to make it work on Android.
How would you go around solving this ?
Thank you for your ideas