You know
already that we can connect our Android
Device to PC for testing app by turning on "USB Debug" option under
developer settings.
However , if you are
using windows , you may facing classic problem because you will need the right
driver so it could be properly connected. Other consideration is whenever you
connect your HH to PC it will always recharging your HH . Some people dislike
this because this will make their HH warms up. And of course you will need a
free USB port on your PC to plug the USB
Cable right?
Yeah, we have more
simpler option to connect our HH to PC via Wifi.
Although we said
over Wifi, its doesn’t necessarily requires internet connection at all for just
connecting.
But here's the
downside:
- It will requires 3rd party tools IF you don’t want to connect this manually using manual setup to pair your device. :p . Honestly , this step can be done manually but this takes longer time.
- Your HH should be ROOTed first
If you dislike ,
okay just get back to manual USB.
Important
In addition ,
because we are using CMD tool btw, make sure that you have installed Android
SDK and configured the required path to be registered to your System. So we can
type and run something like
adb connect , adb device , monitor …
commands
Enough …
There are many 3rd
party apps there but I do recommend "Wifi ADB"
(warn: I don’t
affiliate with them et all. Just found this the best so far )
Its 100% free, even
though youll see "Offers in
app-purchase" its not that case. Its just to inform you that you can
donate to support them as they stated.
Go to the app store
and install that first.
Then
,.. Okay lets get started
Alert!!!
- You will do these step from two side: on your device and on your PC
- basically NO Internet connection is required to connect your HH via Wifi described in these steps
On
your device :
First TURN ON your
Hotspot
Then Open up Wifi
ADB, tab the switch to On
You will get that
message along with IP address to connect to.
On your computer run
adb connect 192.xxx.xxx.xxx:5555
The address might be
different across devices. So make sure you use the correct address given by
Wifi ADB.
Okay now lets move
to your PC
On
your PC
TURN ON your Wifi,
press that Wifi button on your Keyboard
Open up either CMD
or directly via Run and type this
adb connect [your address given by wifi adb]
Hell yeahhh congrats
, now its connected to your PC :D
That's it. I prefer
this method because IMHO this is more simpler that dealing with USB Debug .
Now to see this in action you can first check connected device and then
Catch Android Device
screen using DDMS / Android Device Monitor