美文网首页
adb-安卓手机沉浸式命令

adb-安卓手机沉浸式命令

作者: 向芽塔 | 来源:发表于2018-01-02 23:37 被阅读0次

    1.PC端下载adb命令包
    https://developer.android.google.cn/studio/releases/platform-tools.html

    2.手机端进入开发者选项,开启USB调试
    3.adb目录下按住shift键并点击鼠标右键,选择在此处打开命令行(win10)
    4.输入以下代码以连接设备

    adb devices

    5.操作代码如下
    ①沉浸状态栏和导航栏

    adb shell settings put global policy_control immersive.full=*

    ②沉浸状态栏

    adb shell settings put global policy_control immersive.status=*

    ③沉浸导航栏

    adb shell settings put global policy_control immersive.navigation=*

    ④恢复官方默认

    adb shell settings put global policy_control null

    ⑤输入法导航栏bug解决

    adb shell settings put global policy_control immersive.navigation=apps,-com.sec.app.screenrecorder

    6.安卓8.0操作代码
    沉浸导航栏:

    adb shell wm overscan 0,0,0,0

    相关文章

      网友评论

          本文标题:adb-安卓手机沉浸式命令

          本文链接:https://www.haomeiwen.com/subject/amvqnxtx.html