Check if the Wi-Fi transceiver is turned on
- Import the net.rim.device.api.system.RadioInfo
class.
- Create an IF statement that tests the value of RadioInfo.WAF_WLAN and the value returned by RadioInfo.getActiveWAFs().
if ( ( RadioInfo.getActiveWAFs() & RadioInfo.WAF_WLAN ) != 0 ) { … }
Was this information helpful? Send us your comments.