当前位置:网站首页>如何通过adb打开和关闭飞行模式
如何通过adb打开和关闭飞行模式
2022-07-28 14:38:00 【丨刘一丨】
一:如何通过adb打开和关闭飞行模式
- 打开飞行模式脚本
@echo off
adb root
adb wait-for-device
adb remount
adb wait-for-device
adb shell settings put global airplane_mode_on 1
adb shell am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true
pause
- 关闭飞行模式脚本
@echo off
adb root
adb wait-for-device
adb remount
adb wait-for-device
adb shell settings put global airplane_mode_on 0
adb shell am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false
pause
边栏推荐
- 10. Implementation of related data accumulation task
- Matlab does not overwrite importing Excel
- Tencent interview -- please design a thread pool to implement sequential execution
- Ffmpeg notes
- 关于word文档中插入的图片只显示下面一部分
- 20. Channel allocation task implementation
- Pycharm - output exception of program run and default comment of added function
- 8. Realization of real-time data backup and real-time clock function
- 22、电文处理任务实现
- Stateflow逻辑系统建模
猜你喜欢

Daily question (retrospective)

Editor in ArcGIS Pro

ArcGIS Pro 中的编辑器

How many tips do you know about using mock technology to help improve test efficiency?
软件测试的流程规范有哪些?具体要怎么做?

Celery related

Learn PHP reflection classes from ThinkPHP remote code execution

MIT pointed out that the public pre training model should not be used indiscriminately

Idea debugging burpsuit plug-in

2022年最火的十大测试工具,你掌握了几个
随机推荐
9. Related data accumulation task definition
Matlab exports high-definition pictures without distortion in word compression and PDF conversion
ArcGIS Pro 中的编辑器
【删除指定数字——leetcode]
Tencent interview -- please design a thread pool to implement sequential execution
4. Main program and cumulative interrupt processing routine implementation code
DataTables warning: table id=campaigntable - cannot reinitialize datatable. solve
提速1200倍!MIT开发新一代药物研发AI,吊打老模型
Qt信号与槽的五种连接方式
20、通道分配任务实现
关于word文档中插入的图片只显示下面一部分
7/13 (pond sampling)
Opencv - closely combine multiple irregular small graphs into large graphs
爬虫入门(1)——requests(1)
2、开源GPS项目HD-GR GNSS的自叙
机器学习的3大“疑难杂症”,因果学习是突破口 | 重庆大学刘礼
Data synchronization of new version
Template injection summary
Self cultivation of programmers
leetcode-括号有效性问题