[android-developers] Re: SQLiteDatabase error: SQL logic error or missing database

2011-06-03 Thread Edam
Most of your code looks very similar to mine (which works 100% ok). The bit where you select the data is different, mine looks like:- return db.query(true, table_name, cols, KEY_ROWID + = + rowId, null, null, null, null, null); I'm not sure what the difference is

[android-developers] Re: SQLiteDatabase error: SQL logic error or missing database

2011-06-03 Thread Hank
I tried the other query method and it also fails. I added five rows into the table before querying and there are no problems with adding On Jun 3, 12:42 pm, Edam edamr...@hotmail.com wrote: Most of your code looks very similar to mine (which works 100% ok). The bit where you select the data is

[android-developers] Re: SQLiteDatabase error: SQL logic error or missing database

2011-06-03 Thread Hank
I think the error has something to do with selection and selectionArgs, cause if I remove them there is no problem On Jun 3, 1:15 pm, Hank hwang...@gmail.com wrote: I tried the other query method and it also fails. I added five rows into the table before querying and there are no problems