Post Reply

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

OP Headii

20th July 2014, 06:55 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: Dec 2010
More
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:

Code:
adb shell service call clipboard 1
write clipboard:

Code:
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Questions and Answers by ThreadRank