开发者

how to handle sleep mode enter in android?

I didn't find it anywhere, how can I handle entering sleeping mode in android? I want to do something when andro开发者_开发技巧id device entered to the sleep mode? Is this possible or is there anyway to handle it?


Just make this by using BroadCastReceivers for system-calls (wakeup/sleep)

Android - how to receive broadcast intents ACTION_SCREEN_ON/OFF?


how can I handle entering sleeping mode in android?

Generally, you don't. There is nothing you need to do related to sleep mode.

I want to do something when android device entered to the sleep mode?

I certainly hope not.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜