Hi Erel,
Thanks, I have already considered it, but it's not the solution I need. I'm after a solution which gives me the WiFi signal strength on real time. Let me explain...
I have four WiFi access points in my house: one router and three WiFi repeaters. It happens that Android's WiFi search algorithm is far from ideal, since it tends to choose the last used saved WiFi AP, while it would be smarter if it always chose the AP with the strongest signal. In many situations, I'm sitting just beside an WiFi repeater and my phone remains connected to a far away AP. Obviously, if my phone were connected to the nearer (stronger signal) AP, it's WiFi connection speed would be better.
I have already have the solution working as an app. For that, I used Phone library, to capture the PhoneEvent ConnectivityChanged; MLWiFi library, to read MLWiFi.WiFiSignal; and BroadcastReceiver libray, to capture android.net.wifi.RSSI_CHANGED.
The app is working fine, since it changes the WiFi sinal meter whenever the WiFi icon at Android's status bar changes.
According to
https://stackoverflow.com/questions/44018447/very-slow-reaction-rssi-changed-action,
the event android.net.wifi.RSSI_CHANGED is not constantly triggered. Instead, it is triggered only when the WiFi strength changes by a certain amount.
Currently I'm working on doing the same solution as a widget, and I must say I'm having trouble doing that. I don't fully understand yet how to implement widgets, I have to work on that...
Regards,