Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

Ibrahim Abu Sharif

Android Debug Bridge

ADB over WIFi

ABOUT

How to Set Up and Use ADB Wirelessly With Android ?

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.

ADB over WiFi

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.

ADB Wirelessly

Connect ADB to a device via WiFi

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

CONCLUSION

& QUESTIONS

Connect ADB to a device via WiFi

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

CONTACT

INFORMATION

ADB Commands

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

رمز النسخ

Learn more about creating dynamic, engaging presentations with Prezi