title: How do I save data structures in android?
body: <p>I want to store some data from structures like this:</p>
  
  <pre><code>class Project {
      ChildA a;
      ChildB b;
  }
  
  class ChildA {
      ChildC c;
      ...
  }
  ...
  </code></pre>
  
  <p>I have created data like:</p>
  
  <pre><code>Projet x = new Project();
  x.a = new ChildA();
  x.a.c = new ChildC();
  </code></pre>
  
  <p>... and I want to save it to an external file on the sdcard of my device so that other apps can read it (and users can open/copy it).</p>
  
  <p>I thought I should use a DOM parser because my data structures are not very big, but I find no tutorials or anything like that. Is there a better way to store this information?</p>
  
  <p>If not, are there any instructions how to use the parsers in android?</p>