#Iclipboard android
#Iclipboard code
Next, look for CODE to see the source code of Clipboard: // API = 11 static final int TRANSACTION_setPrimar圜lip = 1 static final int TRANSACTION_getPrimar圜lip = 2 static final int TRANSACTION_getPrimar圜lipDescription = 3 static final int TRANSACTION_hasPrimar圜lip = 4 static final int TRANSACTION_addPrimar圜lipChangedListener = 5 static final int TRANSACTION_removePrimar圜lipChangedListener = 6 static final int TRANSACTION_hasClipboardText = 7 Analysis # If use windows system, use findstr: # service list | findstr "clipboard" 63 clipboard: S16: Write the UTF- 16 string STR into the send parcel. I64: Write the 64-bit integer N into the send parcel.į: Write the 32-bit single-precision number N into the send parcel.ĭ: Write the 64-bit double-precision number N into the send parcel. I32: Write the 32-bit integer N into the send parcel. When you execute it from the command line, you can see the following information: $ adb shell
Pre-knowledge Pointsįirst of all, look at the service in ADB Shell. Operating environment: macOS Sierra 10.12.6 + iTerm2, some commands may vary slightly depending on the system, please test yourself.