[android-developers] SQLiteOpenHelper and concurrency

2009-06-26 Thread Daniel
Hi, I am currently doing an app that asynchronously populates a list view at startup using AsyncTask. Therefore the AsyncTask uses SQLiteOpenHelper.getReadableDatabase to read some data. At the app's shutdown (onPause) the UI thread is writing some new data to the database after using

[android-developers] SQLiteOpenHelper and concurrency

2009-06-26 Thread Daniel
Hi, I am currently doing an app that asynchronously populates a list view at startup using AsyncTask. Therefore the AsyncTask uses SQLiteOpenHelper.getReadableDatabase to read some data. At the app's shutdown (onPause) the UI thread is writing some new data to the database after using