Q QSerg Member Aug 26, 2025 #1 Hi Helpful People! I have an application where I like to display SSID where my Android Device is connected to via WiFi. So I use something like this: Dim sss As String Wait For (GetWifiInfo) Complete (WifiInfo As JavaObject) If WifiInfo.IsInitialized Then sss=WifiInfo.RunMethod("getSSID", Null) End If It was working like a charm in Android 7. Now I have new devices with Android 14 and this piece of code returning me <unknown ssid> Any suggestions? Many thanks in advance Serg
Hi Helpful People! I have an application where I like to display SSID where my Android Device is connected to via WiFi. So I use something like this: Dim sss As String Wait For (GetWifiInfo) Complete (WifiInfo As JavaObject) If WifiInfo.IsInitialized Then sss=WifiInfo.RunMethod("getSSID", Null) End If It was working like a charm in Android 7. Now I have new devices with Android 14 and this piece of code returning me <unknown ssid> Any suggestions? Many thanks in advance Serg
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2025 #2 Please use [code]code here...[/code] tags when posting code. You need to request the FINE_LOCATION permission at runtime and location services should be enabled. Upvote 0
Please use [code]code here...[/code] tags when posting code. You need to request the FINE_LOCATION permission at runtime and location services should be enabled.
Q QSerg Member Aug 31, 2025 #3 Thanks Erel, I already figured it out. Like to post here that question is resolved, but could not even find this thread. Thanks again Upvote 0
Thanks Erel, I already figured it out. Like to post here that question is resolved, but could not even find this thread. Thanks again