vendredi 1 mai 2015

SQLite order query not working

I am trying to create a highscores page in android, I am trying order my numbers by the field called KEY_HOTNESS which is an iteger field, the code below shows the query that I have tried.

Cursor c = ourDatabase.query(DATABASE_TABLE, columns, null,null, null, null,  KEY_HOTTNESS ,null);

Aucun commentaire:

Enregistrer un commentaire