Code example for WifiManager

Methods: reconnect

0
    return mWifi.reassociate();
  } 
 
  @Rpc(description = "Reconnects to the currently active access point.", returns = "True if the operation succeeded.") 
  public Boolean wifiReconnect() {
    return mWifi.reconnect();
  } 
 
  @Override 
  public void shutdown() { 
    wifiLockRelease(); 
  } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE