]> iEval git - unical.git/blame - src/ro/ieval/unical/Application.java
Edit event. work in progress[3]
[unical.git] / src / ro / ieval / unical / Application.java
CommitLineData
57ca4051
MG
1package ro.ieval.unical;
2
3import android.database.Cursor;
4
5public 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);
50bd7c7a
MG
12 if(cur.moveToFirst()) {
13 do {
14 Utils.setAlarm(this, cur.getLong(0), cur.getLong(1));
15 cur.moveToNext();
16 } while(!cur.isAfterLast());
17 }
57ca4051
MG
18 }
19}
This page took 0.020703 seconds and 4 git commands to generate.