Reputation: 21
I want to create an android application which uses WiFi router information. Using android WiFi API, I am able to get all the information of all WiFi networks available but I want to find the information or unique identity of routers to which my mobile is in range of.
Is there any way to get this information ?
Upvotes: 1
Views: 2550
Reputation: 11
Network Info II
Shows info about the phone and the current network, Bluetooth, IPv6 and Cell connection.
**>> Information shown <<**
•Device IP and hostname, both private and public.
•Current mobile Cell and any neighbours, along with their signal strength, location info and type.
•IMSI/ IMEI.
•Information about the current mobile provider (MCC+MNC, current connection, etc.)
•The Android device unique ID.
•Full information regarding the WiFi connection (MAC, current SSID and BSSID, link speed, IP/Netmask, Gateway, DNS and DHCP servers, etc.)
Link is Bellow : https://play.google.com/store/apps/details?id=aws.apps.networkInfoIi
Upvotes: 1
Reputation: 9554
this snippet of working code (which i cant repost because of anti spamming policy in SO) extracts everything from connected wifi, stored networks on device and available networks in "sight" of device.
when you say "unique identity", i imagine that you mean a wifi router's MAC address (which is called BSSID, "getMacAddress" being reserved for the DEVICE's mac address).
Upvotes: 0