Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to find wifi signal direction of another device in android?

I am using my android phone as Access Point. Now I want to find the distance and direction of the wifi devices connected with my phone.

Please help me through suitable example and code.

Thanks in advance.

like image 414
Osmani Avatar asked May 14 '11 20:05

Osmani


1 Answers

I downloaded Wifi Radar that you mentioned and tried it. There's an important step there - it asks you to rotate on the spot for a bit while holding the device to your body.

So my guess is that it uses the internal compass to figure out which direction you're pointing to, and then measures the signal. When the signal gets stronger, it figures that you're pointing toward the AP.

Since the app asks you to hold your device to your body, it's trying to use you as a shield, so if you're facing away from the AP, your body will weaken the signal.

like image 126
EboMike Avatar answered Sep 22 '22 05:09

EboMike