How to use custom calendar view in Android and how to set alert for reminder?

回眸只為那壹抹淺笑 提交于 2019-12-01 21:49:36

问题


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.


回答1:


Lags while playing 2 sounds on the same time in timer

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

This may help you.

UPDATE:

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

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

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

May be this is what he is looking for?




回答2:


Use android TimerTask in app.

Android Developers

If something else is what you're looking for, try to make your question clearer.

Here is how you can use it: Stackoverflow

UPDATE

I believe this is what you're looking for: Stackoverflow



来源:https://stackoverflow.com/questions/12142737/how-to-use-custom-calendar-view-in-android-and-how-to-set-alert-for-reminder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!