I am trying to use the following code to display my list in descending order by KEY_TIME, but it does not work, I also tried rawQuery, but the program was dead after I ran it, please help me find the error, thanks!
return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, KEY_BODY, KEY_TIME, KEY_CATEGORY, KEY_ALARM}, null, null,null,KEY_TIME+"DESC",null);
source share