简体   繁体   中英

How to use Android Built-in Alarm to integrate my alarm app?

I want to create my alarm app. but, I don't want to re-design a new alarm clock function. so, I want to use android built-in alarm clock.

what I want the procedure is:

  1. use android built-in alarm clock to set the time.
  2. when the alarm is ring, my alarm app will be launched to replace built-in one.
  3. use my alarm app to dismiss the alarm.

How could I make it?

Thank you so much.

How could I make it?

You can't. The only thing an SDK app can do with respect to the device's own alarm clock app is to display an activity to allow the user to set the alarm, with a filled-in set of values.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM