mercredi 20 mai 2015

ORDER BY in SQLite Android

I want to display my database in a list view ordered descending in terms of date. I'm using the db.query(boolean....where second last is order by). I put KEY_DATE+"DESC" but my app crashes. I even tried storing this in a string and then entering it with no luck. Please help.

Aucun commentaire:

Enregistrer un commentaire