From c77e8553fe72ffe0ebb409ba6270f6ddbe434b59 Mon Sep 17 00:00:00 2001 From: bspeice Date: Sun, 8 Dec 2013 19:49:58 -0500 Subject: [PATCH 1/3] Sort alerts by the alarm date --- src/com/uncc/gameday/alerts/AlertDB.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/uncc/gameday/alerts/AlertDB.java b/src/com/uncc/gameday/alerts/AlertDB.java index e021d35..730f845 100644 --- a/src/com/uncc/gameday/alerts/AlertDB.java +++ b/src/com/uncc/gameday/alerts/AlertDB.java @@ -158,7 +158,7 @@ public class AlertDB extends SQLiteOpenHelper { List alertList = new ArrayList(); - String selectQuery = "SELECT * FROM " + TABLE_ALERTS; + String selectQuery = "SELECT * FROM " + TABLE_ALERTS + " ORDER BY " + KEY_ALARM_DATE + " DESC;"; SQLiteDatabase db = this.getWritableDatabase(); Cursor cursor = db.rawQuery(selectQuery, null); From e1fceb15cc6f636f0a54111fe13db5302a735a33 Mon Sep 17 00:00:00 2001 From: agk512 Date: Sun, 8 Dec 2013 19:54:30 -0500 Subject: [PATCH 2/3] Ye olde Alert Service added back in --- AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 0fdca33..a377483 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -40,6 +40,7 @@ + From 44bc9a5466b2b845160fb84238d1ac298222ad2c Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 8 Dec 2013 19:59:26 -0500 Subject: [PATCH 3/3] Remove the AndroidManifest.xml from bin We should be using the one in the project directory --- bin/AndroidManifest.xml | 45 ----------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 bin/AndroidManifest.xml diff --git a/bin/AndroidManifest.xml b/bin/AndroidManifest.xml deleted file mode 100644 index 0fdca33..0000000 --- a/bin/AndroidManifest.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -