Wifi Direct Group Owner Address
问题 That's an easy question, I've to get the "Group Owner address" using "Wifi direct", I know that this is in WifiP2pInfo.GroupOwnerAddress, but how can I initialize WifiP2pInfo.groupOnwerAddress to get the Group Owner address in my application? Could someone give me a pass to pass? I'm new in android and java. Many Thanks. 回答1: NetworkInfo networkInfo = (NetworkInfo)intent.getParcelableExtra(extraKey); if (networkInfo.isConnected()) { wifiP2pManager.requestConnectionInfo(wifiDirectChannel, new