title: Ship an application with a database
body: <p>If your application requires a database and it comes with built in data, what is the best way to ship that application? Should I:</p>
  
  <ol>
  <li><p>Precreate the SQLite database and include it in the <code>.apk</code>?</p></li>
  <li><p>Include the SQL commands with the application and have it create the database and insert the data on first use?</p></li>
  </ol>
  
  <p>The drawbacks I see are:</p>
  
  <ol>
  <li><p>Possible SQLite version mismatches might cause problems and I currently don't know where the database should go and how to access it.</p></li>
  <li><p>It may take a really long time to create and populate the database on the device.</p></li>
  </ol>
  
  <p>Any suggestions? Pointers to the documentation regarding any issues would be greatly appreciated.</p>