title: Store static data in Android - custom resource?
body: <p>I'm new to Android development, and I've been playing around with it a bit.  I was trying to create a program that has a small database-like collection of never-changing data.  In C#, my currently best language, I'd use a List of a custom class and serialize that to an xml file, then read that into my application at runtime.  I found the /xml resource folder in Android, but I'm not sure how I would go about doing what I'm envisioning. What would be the best way to go about doing this?</p>
  
  <p>The data will never need to change.  Example:</p>
  
  <pre><code>Blob   | A  | B
  ----------------
  Blob 1 | 23 | 42
  Blob 2 | 34 | 21
  </code></pre>
  
  <p>I know that's laid out like a table, but using a database doesn't really make sense to me because the data will never change, and I would need a way to store it to initially populate the database <em>anyway</em>.</p>
  
  <p>So basically I'm looking for a way to store somewhat-complex static data in my application.  Any ideas?</p>
  
  <p>EDIT: I also saw the /raw folder.  So I could store things in /res/raw or /res/xml.  But I'm not sure what would be the best way to store/parse the data...</p>