I run the "service clipboard 1" command in the adb shell to get the contents of the clipboard, but it returns: "Result: parcel (fffffffc ffffffff" ........ "), while I'm sure it has clipboard content.
I do not know how to successfully start the clipboard service. Seems like a command line crash. I try to run the command: "service call clipboard 3" and it returns: "Result: Sending (0x00000000: 00000000 00000001 00000001 ffffffff '................' 0x00000010: 00000001 0000000a 00650074 00740078 '........ text' 0x00000020: 0070002f 0061006c 006e0069 00000000 '/.plain ....') ".
env is linux + android sdk emulator + android 4.4.2, please tell me how to get the contents of the clipboard? Thank!
source
share