I want to set repeating alarm that triggers every day at different time

前端 未结 2 427
情话喂你
情话喂你 2021-01-23 03:57

I need the alarm to be triggered every day at sunrise. I get the sunrise time like this:\"06:55\"

Location location = new Location(latitude, longitude);
SunriseS         


        
2条回答
  •  清歌不尽
    2021-01-23 04:37

    Instead of setting an alarm that will go off at a different time each day. You should set separate alarms each day. I recommend you do this by setting the next days alarm after an alarm goes off.

提交回复
热议问题