简体   繁体   English

在android中提醒

[英]Reminder in android

I wanted to create a reminder app for my android. 我想为我的机器人创建一个提醒应用程序。 Actually I wanted to save reminders and the dates in the database and show the reimnder when the scheduled time is reached. 实际上我想在数据库中保存提醒和日期,并在达到预定时间时显示提醒。 Can anyone please suggest the code for this. 任何人都可以为此建议代码。 Can alarms be given specific id at the time of saving and used to retrieve the specific reminder from database. 警报可以在保存时为警报指定特定ID,并用于从数据库中检索特定提醒。 I am new to android. 我是android的新手。 Please help me. 请帮我。

You probably want to use Notifications in conjunction with the AlarmManager . 您可能希望将NotificationsAlarmManager结合使用。 There are lots of tutorials on the web that explain how to do this. 网上有很多教程可以解释如何做到这一点。 Here is one: http://android.arnodenhond.com/tutorials/alarm-notification 这是一个: http//android.arnodenhond.com/tutorials/alarm-notification

Yes.. Your question is to broad for stackoverflow. 是的..您的问题是针对stackoverflow的广泛问题。 But i would suggest you picking up a copy of Android For Dummies 但我建议你拿一份Android For Dummies

This has a full tutorial of exactly what you are looking for. 这有一个完整的教程,正是您正在寻找的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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