1

I want a alarm System in my application, I want to open a dialog activity when alarm is fired, it's working fine when phone is active, but the broadcast receiver is not working when phone is sleep or standby mode.

I also use wacklock logic in broadcast receiver but it can't work well.

4

1 回答 1

0

您需要编写服务以在手机处于睡眠或待机模式时继续工作 这里是链接

于 2012-05-08T08:59:36.383 回答