[Q][KitKat][ADB] Is it possible to set a device's clipboard using ADB?

7 posts
Thanks Meter: 0
By Headii, Junior Member on 20th July 2014, 06:55 PM
Post Reply Subscribe to Thread Email Thread
I want to write and read the clipboard content of a rooted Android device's with ADB.

I found some old Examples but they did not work anymore,

read clipboard:

adb shell service call clipboard 1
write clipboard:

service call clipboard 2 i32 1 i32 0 s16 "Hi xda"
Maybe there is an other CLI to set the clipboard.

Any suggestions or help guiding me in the right direction would be greatly appreciated.
Last edited by Headii; 20th July 2014 at 07:00 PM. Reason: missing code tag
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes