开发者

Android Task Schedule

I'm trying to write an application that will execute a task based on the time of day. Example: it's noon, send a reminder to go to lunch. Anyone know how to accomplish this?

I can schedule tasks based on a tim开发者_如何学编程er, but that's not exactly what I'm looking for.

Thanks


Use the AlarmManager, specifically: http://developer.android.com/reference/android/app/AlarmManager.html#set%28int,%20long,%20android.app.PendingIntent%29

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜