Reputation: 970
I want to write a program ,which will communicate to the available android mobile device via wi-fi .(Note :I do not want to use the USB cable)
That moblile device is having an IP in it by a wi-fi connection with it.The major thing is that i pinged that IP and I am getting connection packets getting back to my pc,means I can communicate with the devices. so can I able to get the details of the device.
details means 1.its name what user sets on it. 2.some address like mac in computers. 3.model name. 4.type of os in it. etc
I really find this interesting but,no idea how to do but i got something like ARP protocol for getting the mac address but I do not know how to communicate with a phone with this ARP protocol.
Can we communicate by the SSH as it a linux kernel based OS .Kindly give me a way how to get these information.
can any one have some idea ,kindly tell me,it is very important for my project.
Thanks
Upvotes: 1
Views: 1265
Reputation: 152246
There is adbWireless application. If you install it on your device, a widget appears that allows you to connect with it over WiFi. In Toast message it shows IP address of Android device.
Then on your PC type:
adb connect 192.168.1.102
(replace it with Android IP address).
And now you have an access to your phone over WiFi (check it with adb devices
).
You need rooted phone to use adbWireless
.
Upvotes: 1