I'm working on a little application, the first step is to get IP and name of all devices connected to my wifi.
Actually I'm able to get only the BSSID of some devices in my wifi but not all
WifiManager wifi = (WifiManager)getSystemService(Context.WIFI_SERVICE);
WifiManager wm = (WifiManager) getSystemService(WIFI_SERVICE); String ip = Formatter.formatIpAddress(wm.getConnectionInfo().getIpAddress());
called Android Network Discovery and interested developers can get its source code from github repo