How to find the direction of the Wi-Fi signal of another device in Android?

I use my Android phone as an access point. Now I want to find the distance and direction of Wi-Fi devices connected to the phone.

Please help me with a suitable example and code.

Thanks in advance.

+6
source share
1 answer

I downloaded Wifi Radar, which you mentioned and tried. There is an important step - he will ask you to turn a little in place, holding the device in his body.

Therefore, I assume that it uses an internal compass to figure out which direction you are pointing, and then measures the signal. When the signal gets stronger, it shows that you are pointing to the AP.

Since the application asks you to keep the device in your body, it tries to use you as a shield, so if you get away from the access point, your body will weaken the signal.

+10
source

Source: https://habr.com/ru/post/888128/


All Articles