开发者

Android alarm service

开发者 https://www.devze.com 2023-03-17 08:53 出处:网络
I am writing an alarm back ground serv开发者_运维问答ice which one is best way to use a BroadCast reciever or Service. Use BR. If task you want to execute is short (5s) you can do all you want in your

I am writing an alarm back ground serv开发者_运维问答ice which one is best way to use a BroadCast reciever or Service.


Use BR. If task you want to execute is short (5s) you can do all you want in your BR otherwise you MUST use service due to android time limit for BR execution. Refer to documentation and check what the limit is (I don't remember it exactly).

0

精彩评论

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