Domanda

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+

È stato utile?

Soluzione

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.

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top