This commit is contained in:
RowenaWinston 2013-12-08 20:00:38 -05:00
commit 4f47a87e8b
3 changed files with 2 additions and 46 deletions

View File

@ -40,6 +40,7 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name="com.uncc.gameday.alerts.AlertService"/>
</application>
</manifest>

View File

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.uncc.gameday"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/GameDayTheme"
android:name="com.uncc.gameday.GameDay" >
<activity
android:name="com.uncc.gameday.activities.Alerts"
android:label="@string/title_activity_alerts" >
</activity>
<activity
android:name="com.uncc.gameday.activities.Parking"
android:label="@string/title_activity_parking" >
</activity>
<activity
android:name="com.uncc.gameday.activities.Registration"
android:label="@string/title_activity_registration" >
</activity>
<activity
android:name="com.uncc.gameday.activities.Search"
android:label="@string/title_activity_search_rsvp" >
</activity>
<activity
android:name="com.uncc.gameday.activities.Home"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>

View File

@ -158,7 +158,7 @@ public class AlertDB extends SQLiteOpenHelper {
List<Alert> alertList = new ArrayList<Alert>();
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);