请选择 进入手机版 | 继续访问电脑版
搜索
热搜: 活动 交友 discuz
查看: 15518|回复: 19

[实用ADB] adb命令获取手机屏幕是否锁屏状态

[复制链接]

57

主题

58

帖子

1232

积分

超级版主

Rank: 8Rank: 8

积分
1232
发表于 2017-8-24 16:26:28 | 显示全部楼层 |阅读模式


除了用通过开发APK API实现获取锁屏状态外也可以通过adb命令获取手机是否锁屏状态,
可以通过下面指令:

  • adb shell dumpsys window policy|grep isStatusBarKeyguardadb shell dumpsys window policy|grep mShowingLockscreen

已解锁状态值:

  • isStatusBarKeyguard=falsemShowingLockscreen=false

如果出现以上2指令有一条指令输出值空,则取
    isStatusBarKeyguard=false


    mShowingLockscreen=false

作为判断即可。

来源:{http://bbs.zecoki.com/forum-70-1.html}
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!




上一篇:编译Android7.0+更改Java heap Size
下一篇:android 5.0/5.1/6.0 deodex方法
回复

使用道具 举报

0

主题

1060

帖子

2210

积分

金牌会员

Rank: 6Rank: 6

积分
2210
发表于 2024-10-10 19:40:41 | 显示全部楼层

casino online khmer t56mmz


Nicely put, Thanks a lot.
online casino igre besplatno online casinos in california online casino $10 deposit bonus
回复

使用道具 举报

0

主题

1060

帖子

2210

积分

金牌会员

Rank: 6Rank: 6

积分
2210
发表于 2024-10-14 11:08:21 | 显示全部楼层

jazz casino online r985wj


Lovely stuff, Thanks a lot.
sugarhouse casino online login north carolina online casino uae casino online
回复

使用道具 举报

0

主题

1060

帖子

2210

积分

金牌会员

Rank: 6Rank: 6

积分
2210
发表于 7 天前 | 显示全部楼层

high noon online casino k81ixj

Edithpab ??? 2024-10-10 19:40
Nicely put, Thanks a lot.
online casino igre besplatno online casinos in california online casino ...


Wonderful facts. Regards.
online casino uk offers craps game casino free online casino pokies
okada online casino hiring best minnesota online casino sites every pa online casino
apostar casino online online michigan casinos deutschland legal online casino
real cash payout online casino ohio online casino real money casino online tanpa modal
miglior casino online italiano best online poker sites for real money wind creek casino online games
回复

使用道具 举报

0

主题

1060

帖子

2210

积分

金牌会员

Rank: 6Rank: 6

积分
2210
发表于 7 天前 | 显示全部楼层

gta online casino model a41idh

Edithpab ??? 2024-11-3 08:11
Wonderful facts. Regards.
online casino uk offers craps game casino free online casino pokies
...


Nicely put, Cheers!
san manuel online casino free coins play online bingo games online casinos louisiana
new jersey online casino sign up bonus is cafe casino safe live online blackjack casino
poland online casinos online casino florida real money 888 online casino bonus codes
casino online bg casino online casino legit online casino sites
foxwoods online casino slots casino live new online no deposit bonus casino
回复

使用道具 举报

0

主题

1060

帖子

2210

积分

金牌会员

Rank: 6Rank: 6

积分
2210
发表于 6 天前 | 显示全部楼层

katsubet australia online casino u27bhp

Edithpab ??? 2024-10-14 11:08
Lovely stuff, Thanks a lot.
sugarhouse casino online login north carolina online casino uae casin ...


Thanks. Excellent information!
steak online casino maryland live online casino online casino closed my account
australian online casinos that accept neosurf top online sportsbooks bank cheque online casino sites
casinos online skrill online poker with real money caesars atlantic city online casino
gta online mission casino free spin codes for shazam casino vegas lux online casino
aristocrat online casino no deposit bonus online casinos that accept credit cards online casino skrill deposit
回复

使用道具 举报

0

主题

1060

帖子

2210

积分

金牌会员

Rank: 6Rank: 6

积分
2210
发表于 6 天前 | 显示全部楼层

winstar 777 online casino sign up bonus a25tff

Edithpab ??? 2024-10-10 19:40
Nicely put, Thanks a lot.
online casino igre besplatno online casinos in california online casino ...


Nicely put. Thanks.
can you win real money online casino baccarat online real money casino niagara online slots
alberta casino online lucky tiger casino free spins top trusted online casinos
online casino with free signup bonus real money sport bet play online wind creek casino
wind creek casino online pa online casinos in north carolina virginia online casino real money
making money gta online casino bingo online real money online casinos that accept checks
回复

使用道具 举报

0

主题

1060

帖子

2210

积分

金牌会员

Rank: 6Rank: 6

积分
2210
发表于 6 天前 | 显示全部楼层

vblink online casino real money q82tqj

Edithpab ??? 2024-10-14 11:08
Lovely stuff, Thanks a lot.
sugarhouse casino online login north carolina online casino uae casin ...


Thank you. A lot of write ups.  
migliori casino online paypal safe online casinos online casinos netflix job
best casinos online to withdraw without sending any documents canada horse race betting mobile online casino australia neosurf
online casino accepting skrill cafe casino free spins codes fast paying online casinos
casino online club live online casino online casino mit echtem geld
online casino ads best ethereum casinos paypal casinos online
回复

使用道具 举报

0

主题

1060

帖子

2210

积分

金牌会员

Rank: 6Rank: 6

积分
2210
发表于 6 天前 | 显示全部楼层

gold online casino b63fkp

Edithpab ??? 2024-11-4 02:42
Nicely put. Thanks.
can you win real money online casino baccarat online real money casino niag ...


Truly all kinds of beneficial information.
gta online casino lucky wheel online slot machines real money massachusetts online casino
online glory casino real money online casino massachusetts play online casino goa
casino online belgique baccarat online free game top 10 online casinos in usa
queen vegas online casino free omaha poker online online casino system
online casino slot machine apps nhl sports betting pa borgata online casino
回复

使用道具 举报

0

主题

1060

帖子

2210

积分

金牌会员

Rank: 6Rank: 6

积分
2210
发表于 4 天前 | 显示全部楼层

real money online casino with free play h15rvl

Edithpab ??? 2024-10-10 19:40
Nicely put, Thanks a lot.
online casino igre besplatno online casinos in california online casino ...

You actually expressed that superbly!
online casino tropez best betting site for esports online casino for massachusetts residents
afun online casino credit card casinos syndicate casino online
silver casino online casinos new zealand play casino table games online
battle royal online casinos online nfl betting online casino games free money
new casinos online usa new zealand casinos spinzwin casino - online slots and casino
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

抖音账号
关注抖音
加入粉丝群,抽取论坛金币


Archiver|手机版|小黑屋|IT趣-GEEK社区

GMT+8, 2024-11-10 23:14 , Processed in 0.093921 second(s), 22 queries .

Powered by Discuz! X3.4. 技术支持 by 巅峰设计

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表