Introducing
Your new presentation assistant.
Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.
Trending searches
ADB is normally used on Android via a USB cable. But you can also set up and use ADB wirelessly. Here's how.
The standard procedure to use ADB involves establishing a USB connection between your Android device and the PC. But here, you will learn how you can use ADB wirelessly.
The standard ADB configuration involves a USB connection to a physical device.
If you prefer, you can switch over to TCP/IP mode, and connect ADB via WiFi instead.
Overview:
this is a tool useful to Android developers.
1. Get on the same network:
Make sure your device and your computer are on the same network.
2. Connect the device to the host computer with a USB cable.
3. Connect adb to device over network:
While your device is connected to adb via USB, do the following command to listen for a TCP/IP connection on a port (default 5555):
1. Type adb tcpip <port> (switch to TCP/IP mode).
2. Disconnect the USB cable from the target device.
3. Type adb connect <ip address>:<port> (port is optional; default 5555).
For example:
adb tcpip 5555
adb connect 192.168.0.101:5555
If you don't know your device's IP you can:
1. check the IP in the WiFi settings of your device.
2. use ADB to discover IP (via USB):
3. Connect the device to the computer via USB
In a command line, type adb shell ifconfig and copy your device's IP address
Now, you can communicate with the phone.
1. Screen on/off:
adb shell input keyevent 224
2. Volume control:
adb shell input keyevent 24
3. screenshot
adb shell screencap -p /sdcard/sc.png
adb pull /sdcard/sc.png
رمز النسخ