首页 > android 如何判断当前处于熄屏状态?

android 如何判断当前处于熄屏状态?

如题,android 如何判断当前处于熄屏状态?


熄屏和亮屏时都有系统广播,对应的广播action为Intent.ACTION_SCREEN_OFFIntent.ACTION_SCREEN_ON

【热门文章】
【热门文章】