Find out how to Percentage Your Laptop’s Clipboard With Android The use of ADB (and Vice Versa)

Find out how to Percentage Your Laptop’s Clipboard With Android The use of ADB (and Vice Versa)

Typing with a bodily keyboard is at all times awesome to doing it on an Android touchscreen. That is very true for Android TV, the place you are pressured to sort with a far flung.


If you are attached on your Android instrument via ADB, then you definitely would not have to fret about having to sort lengthy strings of textual content to your Android instrument—you’ll be able to simply sort it to your pc as a substitute and replica it over by way of the clipboard. Let’s check out how you’ll be able to use Clipper and ADB to percentage your pc’s clipboard along with your Android instrument.


Shifting Your Clipboard With ADB

ADB or Android Instrument Bridge is a command-line software that permits you to hook up with an Android instrument via USB debugging and keep in touch with it via strains of code. The prerequisite for this system of moving your clipboard is that you’ve ADB put in and feature a elementary figuring out of it.

In fact, this is not the one approach you’ll be able to percentage your pc’s clipboard along with your Android instrument. You’ll be able to use Clipt to percentage your instrument’s clipboard on any instrument.

On the other hand, if you have got Home windows 10 or 11 to your pc, you’ll be able to use Microsoft’s SwiftKey to percentage your clipboard along with your cellular instrument. Those two strategies are more practical than the usage of ADB if you are now not all for having to make use of code.

However should you like the usage of code, then doing it with ADB is how you can cross. The benefit of moving your clipboard with ADB is that you do not wish to set up the rest to your pc. Extra importantly, you are not looking for an web connection for this to paintings because you’re immediately attached on your instrument.

Find out how to Switch Your Laptop’s Clipboard to Android With ADB

On this manner, you can first wish to set up Clipper to your Android instrument. Clipper is a light-weight app that communicates with ADB. It has two instructions that permit you to switch your pc’s clipboard on your Android instrument, or print out the Android instrument’s clipboard into your ADB log.

As soon as you are within the terminal, the instructions and steps are the similar for Home windows, Linux, and Mac. We will be the usage of a Home windows instrument on this article. Let’s get began!

Step 1: Set up Clipper

Clipper is open-source and unfastened to make use of. What makes Clipper helpful is that it may possibly get admission to your instrument’s clipboard and keep in touch with ADB. Those two qualities make it the best software for our goal. Clipper is not at the Play Retailer. As a substitute, obtain the APK document from GitHub and sideload it to your Android instrument.

Obtain: Clipper (Loose)

Step 2: Connect with Your Instrument With ADB

Now it is time to hook up your Android. You’ll be able to do that with a USB cable or attach ADB wirelessly along with your Android instrument’s IP deal with. We are going to connect to a USB cable.

The next steps are assuming that you’ve already enabled developer choices and USB debugging on Android. If you have not, then accomplish that prior to continuing!

Attach your Android instrument on your pc with a USB cable. If a suggested comes up to your Android instrument, settle for it to grant debugging permissions. Now open Command Recommended to your pc and run the next command:

 adb gadgets 
Find out how to Percentage Your Laptop’s Clipboard With Android The use of ADB (and Vice Versa)

When you run this command, ADB must show your instrument as attached. If it does not, then one thing is improper. Learn our article on troubleshoot ADB connection issues to get it fastened.

Step 3: Run Clipper

You’ll be able to run Clipper by means of merely opening the Clipper app to your Android instrument. If you are all for doing it with out touching your telephone, you’ll be able to run the code underneath in Command Recommended:

 adb shell am startservice ca.zgrs.clipper/.ClipboardService 
Starting Clipper with ADB

ADB will reply with Beginning carrier.

Step 4: Switch the Clipboard to Android

Now it is time to use Clipper and ADB to transport your pc’s clipboard on your Android instrument. Replica the textual content you need to your pc to the clipboard (the usage of the Ctrl + C shortcut, as an example).

In Command Recommended, sort the command underneath:

 adb shell am broadcast -a clipper.set -e textual content '' 
ADB command to set clipboard to sample text

Line up the cursor and paste your clipboard between the inverted commas (‘ ‘). You’ll be able to do that by means of right-clicking.

ADB set clipboard with Clipper

Press Input and ADB will go back Textual content is copied into clipboard. Now your Android instrument’s clipboard is ready to the string you added between the inverted commas. Pass see for your self! Open an app the place you’ll be able to sort textual content, long-press, then make a selection Paste.

Step 5: Get the Android Clipboard to Percentage With Your PC

Any other serve as of Clipper is getting your Android instrument’s clipboard. This command will output the Android clipboard within the command logs. You’ll be able to reproduction it from there for additional use. For this to paintings, you want to run the Clipper app after copying the textual content to your Android instrument.

Get started by means of copying the textual content you need to your Android instrument—spotlight it and make a selection Replica in the standard approach. Now open the Clipper app to your Android instrument.

In your pc, run the command underneath in Command Recommended:

 adb shell am broadcast -a clipper.get  
Getting Android's clipboard with ADB

ADB will go back an output together with your Android instrument’s clipboard. You’ll be able to make a selection it there and press Ctrl + C to your keyboard to replicate it and use it in any app to your PC.

Anything else Is Conceivable With ADB

ADB is a well-liked software amongst builders and tech lovers. ADB unlocks numerous tactics it’s worthwhile to tweak your Android instrument by means of permitting you to run code immediately to your pc.

Coupled with Clipper, ADB can switch your pc’s clipboard on your Android instrument or print out your Android instrument’s clipboard to your pc. It is a godsend if you are coping with lengthy strings of textual content, and now you understand how to make use of it!

Leave a Reply