2

I want to write reminder. What i need to use? Make service app or just standart app runing in background or another way?

Thanks for replys!

4

2 回答 2

2

What I really liked about this question is you asked about the idea for the app that you want to implement. You didn't ask for code.

I would suggest that you should make an app which should have a broadcast receiver, but still it should have service that runs in background.

The service will check the current time with your reminder time. A broadcast receiver is required to listen to startup broadcast, because you need to start your app as soon as your handset starts.

Have a look at this.

于 2011-03-05T09:30:41.657 回答
0

Have a look at the AlarmManager. It allows you to schedule your application to be run at some point in the future.

于 2011-03-05T09:19:55.380 回答