So I am making an app and I want to know the ipv4 address. I tried using methods that I have seen here, such as:
WifiManager wm = (WifiManager) getApplication