To build an exact and reliable Alarm in Android OS 6, aka Marshmallow, I am forced to use setAlarmClock method of AlarmManager. The problem is this method displays an alarm icon in top status bar. Since my app needs an alarm to refresh some data at midnight, everyday, it will display alarm icon forever, which is not pleasant.
from setAlarmClock without icon in notification bar
No comments:
Post a Comment