Saving ArrayList of Parcelable objects as persistent data?
<p>I have an ArrayList of custom Parcelable objects and I'm trying to save this list to external/internal data storage. These objects are called Lectures and each Lecture contains Arraylists of Assignments, Tests, Notes, and Settings. All of these implement Parcelable too.</p>

<p>Now I attempted to save to this to the sd card using:</p>

<pre><code>for(Lecture l : lectureList)
    oos.writeObject(l);
</code></pre>

<p>oos being the ObjectOutputStream. An exception is thrown (InvalidDataException? I don't remember) with the first write. Now I thought Parcelable was Android's own implementation of Serializable - but upon further reading it seems Parcelable might not be route to save objects persistently. Which is an issue becuase I use it for saveInstanceState.</p>

<p>So do I</p>

<ul>
<li>implement Serializable with Parcelable or remove Parcelable first?</li>
<li>save my data to storage with a different method?</li>
<li>or call it a good run and wave the white flag?</li>
</ul>
