Android锁屏状态下弹出activity
// 加如下设置锁屏状态下一样能跳出此activity
// WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON//点亮屏
// WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON//屏一直亮
// WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED//显示在锁屏之上.activity 结束后还是锁屏
// WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD//自动解屏.activity 结束后屏已经解了
getWindow().addFlags(
WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
| WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
相关推荐
doomvsjing 2012-07-12
huningjun 2012-07-12
berber 2011-02-09
kangtingting0 2010-11-30
gongzhiyao0 2011-04-24
learningITwell 2012-04-26
csdnuuu 2017-07-18
Palingenesis 2019-06-20
ElvenShi 2012-06-24
najiutan 2018-05-09
zzqLivecn 2015-03-06
coosea 2013-02-01
屠龙石头 2012-10-19
Drabandon 2012-10-16
Geeny 2012-08-21
qinxu 2012-07-12
zhangsunyucong 2012-07-12
sunstarchen 2012-06-07