I need to store a record using rawQuery() method, because I want to insert the current date and time (datetime()), but I also need to insert string
rawQuery()
datetime()
I solved the problem with in this way:
String sql="INSERT INTO sms VALUES (null,?,?,?,datetime('NOW'))"; dbw.execSQL(sql,new Object[]{mitt,dest,text});
Finally I can store every char without problems!!!