hi there, I'm doing a calendar. And this calendar allows users to enter events as reminder. They will key in the details and more importantly the time to activate the reminder. So was think how do i code so when the application is running, it will keep checking on the phone time against the scheduled time. Thanks
Use the Timer and TimerTask classes (in java.util).
You can schedule a task to be run periodically. That task can check the current time against the scheduled time and do whatever is required at the scheduled time.
Alternatively (and probably a better solution) you can schedule your task to be run at the specified time. [ January 09, 2005: Message edited by: Tomas Conway ]