Android进阶之路 - WiFi的全面使用_Modu_Liu的博客-CSDN博客
1. 获取当前networkid, 发起断开重连
WifiInfo connectionInfo = wifiManager.getConnectionInfo();
int networkId = connectionInfo.getNetworkId(); // networkId
wifiManager.disconnect();
wifiManager.enableNetwork(networkId, true);