1

Getting SQLite syntax error in ICS(4.0.4) but works fine on other versions?

view story
linux-howto

http://stackoverflow.com – The SQL is INSERT INTO "quotes" VALUES(1,1,1,'This is a quote','This is a quote in german','By Me','jackson',1,1,1305587611,'0','Thriller'); I am using db.execSQL to execute this line after reading it from a text file. This works every other version of Android but is crashing on an ICS(4.0.4) 01-14 02:07:46.271: E/AndroidRuntime(1802): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.foo.quotesapp/com.foo.quotesapp.QuoteList}: android.database.sqlite.SQLiteException: near "?INSERT": syntax error I have tried both the SQL that creates the table and this insert in (HowTos)