作者热门文章
- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
如何在我的应用程序中实现闹钟。我想实现一个类似于系统警报的警报。或者我可以用来从我的应用程序设置系统警报的任何 Intent。
最佳答案
你想要 Android Alarm Manager :
This class provides access to the system alarm services. These allow you to schedule your application to be run at some point in the future.
和here is a tutorial为了您的观赏乐趣。
此外,如你所知,the question right before the one you just asked回答完全相同的问题。您可能已经搜索过此解决方案。
关于android - 如何在我的应用程序中实现系统闹钟?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6274196/
我是一名优秀的程序员,十分优秀!