Java Question Android 4.3 ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE

FabioG

Active Member
Licensed User
Longtime User
Hello to all,

in Android 4.3 has been introduced by scanning WiFi Geolocation continues

the new API Level 18 contain the constant ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE
(read http://developer.android.com/reference/android/net/wifi/WifiManager.html)

I'm developing a library with Eclipse to integrate into B4A

but I can not figure out how to write a code in java to read the constant ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE

I tried that but it does not work

B4X:
import android.net.wifi.WifiManager;

public class sncWiFiSettings {

    public WifiManager mWifiManager;

     public String WiFiGeoLoc() {      
              return mWifiManager.ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE      
     }

}
 

FabioG

Active Member
Licensed User
Longtime User
Thanks Erel,

you know how I can do to read the value of?

I need to check whether the option is on or off.

thanks
 

FabioG

Active Member
Licensed User
Longtime User
No, unfortunately I have not found a solution
I do not know how to do
 
Top