摘要:
闹钟管理器可以在指定的时间触发事件,这样就可以做一些周期性的任务,比如定时更新数据,实现闹铃等。The steps we follow for this exercise are 1. Get access to the alarm manager. 2. Come up with a time to set the alarm. 3. Create a receiver to be invoked. 4. Create a pending intent that can be passed to the alarm manager to invoke the receiver... 阅读全文