Skip to content

小米小窗相关留言 #2

@Perpetual-Memories

Description

@Perpetual-Memories

开发者你好,由于我酷安账号已经长期弃置不用,所以来开个 issue 回复一下有关 MIUI 小窗命令行工具,希望对你的工作有帮助
关于小窗的研究,可以看看他的文章 https://www.coolapk1s.com/feed/43706918
还有研究出来的shell(示例)
pkg_activity='com.miui.securitycenter/com.miui.permcenter.settings.InvisibleModeActivity'
pkg='com.miui.securitycenter'
am start --windowingMode 5 -n $pkg_activity -f 268500992
taskid=dumpsys activity | grep $pkg | grep Recent |cut -d '#' -f 3 | cut -d ' ' -f 1
am task resize $taskid 160 260 1240 1990
关于MIUI自由小窗X/澎湃小窗X
前者是后者的前身,澎湃小窗X详见
https://www.coolapk.com/feed/58584887?
内含shell命令(包括小窗打开任意应用,切换小窗三状态,关闭小窗)和获取方式

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions