Last active
February 17, 2026 22:23
-
-
Save ianldgs/178e27b40d4195d9d71fb462ce2fca1e to your computer and use it in GitHub Desktop.
Move focused app to another display in android via ADB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .\scrcpy.exe --new-display=2720x1280/192 | |
| .\adb.exe shell dumpsys display | Select-String mDisplayId | |
| .\adb.exe shell dumpsys window | Select-String mFocusedApp | |
| .\adb.exe shell am display move-stack <focusedAppId> <displayId> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment