Hmmm, I need to remove entries from tables as I "process" them...

Is there any way this can be achieved on Android?


On Dec 5, 9:05 am, Nikolay Elenkov <[email protected]> wrote:
> On Mon, Dec 5, 2011 at 5:50 PM, MarkG123 <[email protected]> wrote:
>
> > The full callstack:
>
> > 12-04 19:51:12.665: I/Database(842): sqlite returned: error code = 8,
> > msg = prepared statement aborts at 37: [CREATE TABLE IF NOT EXISTS
> > android_metadata (locale TEXT)]
> > 12-04 19:51:12.665: E/Database(842): CREATE TABLE android_metadata
> > failed
> > 12-04 19:51:12.795: E/Database(842): Failed to setLocale() when
> > constructing, closing the database
> > 12-04 19:51:12.795: E/Database(842):
> > android.database.sqlite.SQLiteException: attempt to write a readonly
> > database
>
> Well, you are opening in READWRITE mode, and it tries to create a
> table. If it's not your own DB, open it in READONLY mode.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to