lurenjiauser
V2EX  ›  Android

使用 adb 访问安卓的剪贴板除了利用第三方 app 做桥梁没有其他直接方法了么?

  •  
  •   lurenjiauser · Jan 2, 2023 · 13026 views
    This topic created in 1424 days ago, the information mentioned may be changed or developed.

    好像从 android 11 开始,用什么 service call 的方法也被堵住了,为什么 adb 这么具有权限的东西,都无法访问一个剪贴板了呢?

    2 replies  •  2023-01-02 22:42:43 +08:00
    sky96111
    sky96111
    Jan 2, 2023 via Android
    1
    scrcpy 实现了 adb 同步剪切板,你可以研究下它是怎么做的
    lurenjiauser
    lurenjiauser
    OP
    Jan 2, 2023
    2
    它是 push 了一个 jar 到了手机中,然后运行这个 jar ,我想知道有没有直接点的方法...
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2184 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 14:49 · PVG 22:49 · LAX 06:49 · JFK 09:49
    ♥ Do have faith in what you're doing.