1 package ro
.ieval
.unical
;
3 import android
.database
.Cursor
;
5 public final class Application
extends android
.app
.Application
{
6 public AlarmOpenHelper alarmOpenHelper
;
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()) {
14 Utils
.setAlarm(this, cur
.getLong(0), cur
.getLong(1));
16 } while(!cur
.isAfterLast());