Android Question WifiManager and Reflector

FabioG

Active Member
Licensed User
Longtime User
Hello,

I need to run this code, perhaps with a reflector
how can I do?

B4X:
    WifiManager mainWifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
    WifiInfo currentWifi = mainWifi.getConnectionInfo();    
    return currentWifi.getSSID();

thank you very much
 

FabioG

Active Member
Licensed User
Longtime User
I saw it but sometimes it does not work

I wanted to start writing my own lib with the functions that use more
but I can not do this

can you help me?
this could also serve as an example for the future
 
Upvote 0
Top