开发者

Trigger background service at a specific time in Android

开发者 https://www.devze.com 2023-03-11 08:49 出处:网络
I want to start a service in background everyday at a par开发者_C百科ticular time. I am on android 2.2. please suggest me a sample code.

I want to start a service in background everyday at a par开发者_C百科ticular time. I am on android 2.2. please suggest me a sample code.

thanks


You want the Android Alarm Manager:

This class provides access to the system alarm services. These allow you to schedule your application to be run at some point in the future.

And here is a tutorial for your viewing pleasure.

0

精彩评论

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