[英]Paste with newline using adb shell
I am trying this: 我在尝试这个:
service call clipboard 2 i32 1 i32 18 s16 Line1\nLine2
also tried 也试过了
service call clipboard 2 i32 1 i32 18 s16 Line1\rLine2
But it gives me Line1nLine2
and Line1rLine2
. 但它给了我Line1nLine2
和Line1rLine2
。 How do I send newline? 我如何发送换行符?
I found a temporary alternative: 我发现了一个临时替代品:
telnet localhost 5554
sms send 5554 Line1\nLine2
and can copy from there. 并可以从那里复制。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.