Frage

Is there way to set up alarm clock in my application - this means that when I use something like AlarmManager or else, my new alarm would be visible on my alarm list in stock Clock application. I read some tutorials and did some but none has managed to do what I've wanted.

I need this for API 8+

War es hilfreich?

Lösung

Is there a way to get your alarms to show up in the default Alarms overview? Short answer - no. The default Alarms / Clock application has its own private database and you can't access that.

Andere Tipps

What specifically have you had trouble with? Have you examined how it's done in the official app? You can download the source tree and see how Google manage alarms in the AlarmClock app: http://source.android.com/source/downloading.html

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top