I have an Android app that needs the real IP of the device, not the virtual network IP. I don't want the the public IP unless the Chromebook is on a public IP, I just need the private one of the LAN, but right now I'm getting a virtual IP of what I'm guessing is a virtual network for Android apps.
Using both WifiManager and NetworkInterface.getNetworkInterfaces() all I get is the virtual IP. Calling an external server won't work because that would get me the public IP.
I know this has been asked in the past but I just want to check if anyone has found a way yet?