Chrome View Android Via ADB

A picture of a USB cable connected to a phone to signify Android Debug Bridge

View Android On Desktop Chrome Browser

Learn how to screencast and interact with your Android device using your desktop Google Chrome web browser

Remote debug your Android device. You need to select “Enable USB Debugging” in the “Developer Options” of your Android device.

Next, you need to connect a USB cable between the Android device and your workstation. After allowing the access to the Android device, open the Google Chrome web browser and navigate to “chrome://inspect#devices. For the WiFi wireless option, run the adb commands. Both Discover USB devices and Discover network targets should be enabled.

Requirements For Remote Debug

Glossary:

IP

Internet Protocol address is a numerical label that is assigned to a device connected to a computer network.

Wi-Fi

Wireless network protocols based on the IEEE 802.11 standards for local area networks.

WLAN

Wireless LAN is a computer network that links 2 or more devices.

TCP/IP

Transmission Control Protocol/Internet Protocol is a framework for computer networking.

USB

Universal Serial Bus is a standard for digital data transmission and power delivery between electronics.

ADB

Android Debug Bridge.

Android Devices

Recording Devices
Name Description Recording Power
Sony Xperia XA1 Ultra Updated to Android 8.0 and latest web browser. Takes photos and videos on front and back cameras. USB Type-C 2.0 10W charging
Samsung Galaxy S21 FE 5G Updated to Android 14.0 and default camera application. Takes photos and videos on front and back cameras. USB Type-C 2.0 <25W charging
Name Description Example

Download

The ADB tool can be downloaded as part of the SDK Platform Tools for Download SDK Platform Tools and decompressed into a folder on your workstation.

ADB Wireless Connection

# Command Line #
adb tcpip 5555
adb tcpip connect [Android Device IP Address]
adb devices

ADB Wireless Command Line Setup
Android Debug Bridge (ADB) Command Line Setup For Wireless Setup

Chrome Browser DevTools Devices
Google Chrome Web Browser DevTools Devices Listed

Chrome Browser Remote Debug For Android
Google Chrome Web Browser DevTools Remote Debug For Android Devices


Conclusion:

Remotely debug Android devices on your desktop in a Google Chrome web browser. For wireless connections, run Android Debug Bridge on the command line.

If you enjoy this article, consider supporting me by purchasing one of my OjamboShop.com Online Programming Courses or publications at Edward Ojambo Programming Books or simply donate here Ojambo.com Donate

References:

Leave a Reply

Your email address will not be published. Required fields are marked *