Using Android 10, it is difficult to scan Wifi Access Point with no internet access.
I use the following code to scan Wifi networks:
IntentFilter inten