copy of an instance of an android object
<p>I'm working on a simple app that needs to generate an instance of a class and keep getting fed with user input. After the app exits, i want this instance to be preserved. I tried storing the user input in a file and making a new instance of the file on consecutive runs using the stored data, but due to the complex nature of the class, the results aren't as good as expected. </p>

<p>So, my question is, what is the best way to store an instance of a class on a devices internal memory, and loading it again each time the app is launched again? From what I understand, I'll need to serialize the object, but I'm not sure how exactly to, or if that is the correct approach.</p>

<p>Thanks for any input.</p>
