相关疑难解决方法(0)

带空格的 adb shell 输入文本

如何使用“某些文本”之类的空格发送文本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)

shell android adb-shell

8
推荐指数
2
解决办法
1万
查看次数

是否可以从应用程序复制/粘贴/键入(例如密码)到 Oculus Quest 耳机中?

目前似乎没有一种简单的方法可以在 Oculus Quest 中复制/粘贴文本,也没有“输入”到配套应用程序并将其发送到耳机中的简单方法(至少我见过)。这使得从密码管理器等输入复杂密码变得极具挑战性。

我读过一些文章,说可以将蓝牙键盘与耳机配对,这会稍微好一些,但仍然不允许我从密码管理器复制/粘贴。

有谁知道实现这一目标的方法?

adb oculus oculusgo

4
推荐指数
1
解决办法
2776
查看次数

标签 统计

adb ×1

adb-shell ×1

android ×1

oculus ×1

oculusgo ×1

shell ×1