Thursday 6 November 2014

Connect Android phone wirelessly to ADB for Testing

Remotely connect real device with Eclipse.

Now we can easily connect the android smartphone with eclipse wirelessly.
Eager to know, Here is the code.

Required:- Your phone should be ROOTED.

Now Just Download Terminal Emulator app from Here in your phone.

Now that you are ready, Let's proceed.

Open the Terminal Emulator and type the following

    su
    setprop service.adb.tcp.port 5555
    stop adbd
    start adbd


Now that your phone is ready to get connect let's connect it from computer,
Go to Command in run.
Go to {SDK_PATH/platform tools}
Then enter adb connect {ipaddress of your phone}
Ex:-adb connect 192.168.1.5

IP Address of phone can be know by this app Here.