D Declan Well-Known Member Licensed User Longtime User Dec 2, 2016 #1 I am using the following to load "android.settings.WIFI_SETTINGS". Code: Sub imgWiFiAvail_Click Dim i As Intent i.Initialize("android.settings.WIFI_SETTINGS", "") StartActivity(i) End Sub In my "Starter" service, I do monitor the Connectivity Changed and write this to a variable: Main.WiFiIsConnected. Once the user has set the WIFI_SETTINGS and device is connected and IP address has been obtained Main.WiFiIsConnected = True. Is there a way that I can automatically CLOSE the "android.settings.WIFI_SETTINGS" activity? I have found that if I close the activity too soon (with the "Back" button), the app bombs.
I am using the following to load "android.settings.WIFI_SETTINGS". Code: Sub imgWiFiAvail_Click Dim i As Intent i.Initialize("android.settings.WIFI_SETTINGS", "") StartActivity(i) End Sub In my "Starter" service, I do monitor the Connectivity Changed and write this to a variable: Main.WiFiIsConnected. Once the user has set the WIFI_SETTINGS and device is connected and IP address has been obtained Main.WiFiIsConnected = True. Is there a way that I can automatically CLOSE the "android.settings.WIFI_SETTINGS" activity? I have found that if I close the activity too soon (with the "Back" button), the app bombs.
DonManfred Expert Licensed User Longtime User Dec 2, 2016 #2 Declan said: Is there a way that I can automatically CLOSE the "android.settings.WIFI_SETTINGS" activity? Click to expand... no Upvote 0
Declan said: Is there a way that I can automatically CLOSE the "android.settings.WIFI_SETTINGS" activity? Click to expand... no