0

i want to make reminder in my android application..i have taken date-picker and time-picker and stored the time and date in Sqlite database.now i want to compare those values from database of time n date with system date n time..i mean want to make reminder.(like birthday reminder)

So,how should i develop it...can anyone suggest me or give some sample code of the same.. thanks in Advance--

sawan
  • 2,341
  • 3
  • 25
  • 51
  • Refer to the answer given by user shadowcloud here. [http://stackoverflow.com/questions/5976098/how-to-set-reminder-in-android][1] [1]: http://stackoverflow.com/questions/5976098/how-to-set-reminder-in-android – Andro Selva Aug 05 '11 at 04:50
  • @andro_selva i gone through that links...but occurring some like failed to find provider info for calendar when i use second ans. from second link....can you tell me..whats that error.exactly? – sawan Aug 05 '11 at 05:32
  • did u provide the permissions correctly – Andro Selva Aug 05 '11 at 05:43
  • yes..i have provided read n write both permissions correctly... – sawan Aug 05 '11 at 05:55
  • do you have an google calendar installed and activated in your mobile. This cannot be checked in emulator though – Andro Selva Aug 05 '11 at 05:57
  • @andro_Selva oops!!can you please guide me how to install it...and can i install it on simulator?? – sawan Aug 05 '11 at 06:16
  • No you can't get the required output even if you install calendar in emulator. You must have a device to check this – Andro Selva Aug 05 '11 at 06:28
  • okey....so how to install it..can you please tell me? – sawan Aug 05 '11 at 06:29

2 Answers2

0

AnCal stores yours appointments, tasks and notes, which you can easily add and edit. You can also set alarms for selected items and see day, week and month reports of your appointments.

Faheem Kalsekar
  • 1,420
  • 3
  • 25
  • 31
0

You can start a pending intent using the Alarm Manager and the intent will be received by a BroadcastReceiver that should handle the event. If your phone is restarted you can start the application at boot time, read all the reminders from the DB and schedule pending intents for all.

Bogdan M.
  • 1,726
  • 3
  • 15
  • 24