mercredi 2 mars 2016

insert() in SqliteDatabase cannot be applied

I want to insert event only if it isn't already in Database.

I am passing Ev_id string type in to following function

db.insert("PersonEvent", contentValues, "Event_id != ? ", new String[]{Ev_id});

Following error occour error caused by inserting Ev_id as parameter

Aucun commentaire:

Enregistrer un commentaire