2012-02-29

Using ADB over WiFi

A way of connecting ADB to android devices (a real one or a emulated one) without using an USB cable, is doing it throught a Network (usually over WiFi) using an aplication as Wifi ADB. The steps to follow are:

-Rooting the device if not rooted yet
-Install Wifi ADB
-Push "Turn on" button to get the exact command
-Allow super user permits if a emerging screen ask for it
-Execute the command "adb connect 192.168.1.36:5555"
-Push "Turn off" button to deactivate the aplication

While the application is active you are not able to connect the debugger throught cable, at least for me.

To connect to an emulater no application is needed, just the following steps:

-Get the machine IP ie: 192.168.1.35
-Run the emulator, and you'll find the port 5555 in the window's title puerto 5555 or any other if there is more than one device.
-Run the command "adb connect 192.168.1.35:5555" with the given IP and port.

I already knew how to connect to emulators, I have known this application to connect to real devices at Higo de Blog

As Richard Stallman would say ¡Happy coding!

No hay comentarios: