如何使用“某些文本”之类的空格发送文本adb shell input text?
找到以下解决方案
adb shell input text "some%stext"工作正常。但是有什么简单的方法可以用 %s 替换空间?
例子:
$ adb shell input text "some text"
Error: Invalid arguments for command: text
Usage: input [<source>] <command> [<arg>...]
The sources are:
keyboard
mouse
joystick
touchnavigation
touchpad
trackball
dpad
stylus
gamepad
touchscreen
The commands and default sources are:
text <string> (Default: touchscreen)
keyevent [--longpress] <key code number or name> ... (Default: keyboard)
tap <x> <y> (Default: touchscreen)
swipe <x1> <y1> <x2> <y2> …Run Code Online (Sandbox Code Playgroud) 目前似乎没有一种简单的方法可以在 Oculus Quest 中复制/粘贴文本,也没有“输入”到配套应用程序并将其发送到耳机中的简单方法(至少我见过)。这使得从密码管理器等输入复杂密码变得极具挑战性。
我读过一些文章,说可以将蓝牙键盘与耳机配对,这会稍微好一些,但仍然不允许我从密码管理器复制/粘贴。
有谁知道实现这一目标的方法?