[android-developers] Re: android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread Mark Murphy
mobilek...@googlemail.com wrote: Hi, Has anyone come across this one: android.database.sqlite.SQLiteConstraintException: error code 19. It gets thrown on 'insert', 'update' and 'delete' statements. What is it supposed to mean? At the moment the documentation lacks a signle word about

[android-developers] Re: android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread Mark Murphy
Mark Murphy wrote: mobilek...@googlemail.com wrote: Hi, Has anyone come across this one: android.database.sqlite.SQLiteConstraintException: error code 19. It gets thrown on 'insert', 'update' and 'delete' statements. What is it supposed to mean? At the moment the documentation lacks a

[android-developers] Re: android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread Ronald Krijgsheld
hi, you can check the documentation of sqlite itself. as i understand it, it is a thrown when a constraint in the database is violated. e.g. a foreign key constraint or delete constraint. a google let me to the following issue: http://code.google.com/p/android/issues/detail?id=1221 - ronald

[android-developers] Re: android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread jmagic
Perhaps this will help you: http://www.sqlite.org/c3ref/c_abort.html #define SQLITE_CONSTRAINT 19 /* Abort due to constraint violation */ On Jan 15, 11:43 am, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Hi, Has anyone come across this one:

[android-developers] Re: android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread mobilek...@googlemail.com
I couldn't resolve the problem. I think it was to do with my implementation of ContentProvider as the same data manipulation operations worked fine in some situantions and they didnt in others... Thank you for the help, anyway! And, at the risk of responding to my own message, here's a list of