Hi, the AlarmManager is exactly what I need. It works fine, but I don't figured out yet how to set more than 1 alarm on a AlarmManager.
I am using a BroadcastReceiver to receive that is called if the scheduling time is reached. First I forgot to add the receiver- Tag in the AndroidManifest.xml and wondered why the alarm is not fired ^^ But now it works, but only for the last data I set on the manager. Hope you can help, meanwhile I go home and do some searches on Google :D ´Thanks! -Danny S. On Jan 19, 10:49 am, "Danny S." <[email protected]> wrote: > Hello Kostya, > > WOW, thank you very much, I'll have a look and reply with results and > questions if I have ;-) > > -Danny S. > > On Jan 19, 9:09 am, Kostya Vasilyev <[email protected]> wrote: > > > > > > > > > 19.01.2011 10:07, Danny S. пишет: > > > > Hi, > > > > I have a service that is running in background. It needs to send > > > notifications to the user. In my application you can create data with > > > date and time. The service now can fetch this data and give the user a > > > notification t-x minutes before the saved time is reached ("remind for > > > appointments"). > > > > Can I set a fix moment when the service should send the user a > > > notification instead of listen/check all the time for (approximately) > > > time identity? > > > See AlarmManager > > > > And a secondary question: how can I set "Autostart" for the > > > applications service? > > > See Intent.ACTION_BOOT_COMPLETED > > > -- Kostya > > > > Thanks a lot! > > > -Danny S. > > > -- > > Kostya Vasilyev -- WiFi Manager + pretty widget > > --http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

