I'm trying to determine if my Android device is connected to my Wi-Fi. And if it is, how can I obtain my Wi-Fi address. I realize that ConnectivityManager can determine if the active network is a Wi-Fi network but I can't determine if the IP address belongs to the Wi-Fi network (if more than one IP address is found). Any help would be greatly appreciated.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!