Android: simple export/import of sqlite database
<p>I am trying to implement a simple sqlite export/import for backup purposes. Export is just a matter of storing a copy of the raw current.db file. What I want to do for import is to just delete the old current.db file and rename the imported.db file to current.db. Is this doable? When I try this, I get</p>

<p>06-30 13:33:38.831: ERROR/SQLiteOpenHelper(23570): android.database.sqlite.SQLiteDatabaseCorruptException: error code 11: database disk image is malformed</p>

<p>However if I look at the raw database file in a sqlite browser it seems fine.</p>
