I have a HashMap with Integer+Object pairs, but once the device is powered off and on, the list is gone and I need to be able to retrieve the data after, otherwise my HashMap is pointless. I've tried Bundles, extending Serializable with the HashMap and the object that I'm putting in. Does anyone have any idea how to do this? I'm thinking the best way is the ObjectOutputStream but I just can't work out how to do it. Can anyone direct me to a tutorial/example of this or could give me a quick one?
Much Appreciated