如何使用Android的,以及如何自定义日历视图,设置警报提醒?自定义、视图、警报、如何使用

2023-09-07 10:31:43 作者:为自己丶拼个未来

我需要一个Android应用程序显示一个日历控件。我试图找到由机器人提供的默认小部件这样的控制,但无法找到它。如何将日历控件在Android应用程序集成?

I need to make an Android application to show a Calendar control. I have tried to find such a control in the default widgets provided by Android, but could not find it. How to integrate a Calendar control in an Android application?

我也想日历以允许添加事件,并提醒具体日期。

I also want the Calendar to enable adding events and reminders to specific dates.

推荐答案

Lags同时播放2的声音在同一时间,定时器

http://developer.android.com/reference/java/util/TimerTask.html

这可能有助于U〜

更新:

http://developer.android.com/reference/android/app/AlarmManager.html

http://blog.blundell-apps.com/notification-for-a-user-chosen-time/

http://android.arnodenhond.com/tutorials/alarm-notification

可能这就是他正在寻找???

May be this is what he is looking for???