[android-developers] Power-loss semantics of SQlite on Android

2010-05-11 Thread Tomei Ningen
Hello, I have an app that stores a database on SD card. If I don't use beginTransaction/endTransaction, does Android have any guarantee about the the contents of a database when power is lost? For example, if I have code like this: //db.beginTransaction(); //try {

Re: [android-developers] Power-loss semantics of SQlite on Android

2010-05-11 Thread Dianne Hackborn
Android uses SQLite, so your questions are really about how SQLite behaves. On their web site, a relevant part might be: http://www.sqlite.org/faq.html#q19 On Tue, May 11, 2010 at 11:45 AM, Tomei Ningen tomei.nin...@yahoo.comwrote: Hello, I have an app that stores a database on SD card.