I want to get the currently running Android Emulator's IP address through code. How can it be achieved?
I want to get the currently running Android Emulator's IP address through code. How can it be achieved?
Within the code of my app I can get the running device IP andress easily like beolow:
WifiManager wm = (WifiManager) getSystemService(WIFI_SERVICE);
String ip = Formatter.formatIpAddress(wm.getConnectionInfo().getIpAddress());