java - Getting WiFi Direct IP address of my device - Stack Overflow
I am trying to get the ip address of my device but all in vain and no success. I've tried public String getP2PIpAddr() { WifiManager wifiManager = (WifiManager) ... Do you have permissions on the WiFi settings attached to your Android program manifest? At...