1

SQLite error when trying to Insert Values

view story
linux-howto

http://stackoverflow.com – I'm new to android and trying to learn how to create and insert stuff into a database. I managed to create it and the app runs but I get this error whenever I try to insert stuff in: Error inserting trip type=Hi title=Beach destination=Gotham android.database.sqlite.SQLiteException near "type": synthax error(code 1):, while compiling: INSERT INTO trips(trip type, title, destination) VALUES (?,?,?) This is my PlanTrip activity database part: private EditText editText1; private EditText editText2; private EditText editText3; DBAdapter db = new DBAdapter(this); try { String d (HowTos)