]> iEval git - unical.git/blob - src/ro/ieval/unical/Application.java
Edit event. work in progress[3]
[unical.git] / src / ro / ieval / unical / Application.java
1 package ro.ieval.unical;
2
3 import android.database.Cursor;
4
5 public final class Application extends android.app.Application {
6 public AlarmOpenHelper alarmOpenHelper;
7
8 @Override
9 public void onCreate(){
10 alarmOpenHelper = new AlarmOpenHelper(this);
11 final Cursor cur = alarmOpenHelper.getReadableDatabase().query(AlarmOpenHelper.TABLE, null, null, null, null, null, null);
12 if(cur.moveToFirst()) {
13 do {
14 Utils.setAlarm(this, cur.getLong(0), cur.getLong(1));
15 cur.moveToNext();
16 } while(!cur.isAfterLast());
17 }
18 }
19 }
This page took 0.045049 seconds and 4 git commands to generate.