问题
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