samedi 22 août 2015

View final query in android

Cursor c = cr.query(data_uri, projection, where, selectionArgs, ContactsContract.Data.DISPLAY_NAME + " COLLATE LOCALIZED ASC");

When the where clause contains a ? in it the data is picked up from selectionArgs so is there a way to see the final query before it is executed by the system?

Android gives the final query in the logcat when there is an error in the system but is there a way to get it otherwise?

Aucun commentaire:

Enregistrer un commentaire