Help Center

Local Navigation

Check if the Wi-Fi transceiver is turned on

  1. Import the net.rim.device.api.system.RadioInfo class.
  2. 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 ) { … }

Index


Was this information helpful? Send us your comments.