K.Y.A.N stands for Know Your Android Network! This is a small utility to fetch Android network connection details, mobile data network details, Wi-Fi details and Wi-Fi Hotspot details.
Network Connection Details
1. Check if Android is connected to network or not.
2. Makes a HTTP request to www.google.com to confirm if Internet connectivity is available
3. Check if there is connectivity to a Wi-Fi network or mobile network
4. Checks for Type of Network , below are the types of network
i. GPRS: General packet radio service
ii. EDGE: Enhanced Data rates for GSM Evolution
iii. CDMA: Code division multiple access
iv. 1xRTT: 1x (single-carrier) Radio Transmission Technology
v. IDEN: Integrated Digital Enhanced Network
vi. UMTS: Universal Mobile Telecommunications System
vii. EVDO: Enhanced Voice-Data Optimized or Enhanced Voice-Data Only
viii. HSDPA: High-Speed Downlink Packet Access
ix. HSUPA: High-Speed Uplink Packet Access
x. HSPA: High Speed Packet Access
xi. LTE: Long Term Evolution
5. Retrieves network time using Simple SNTP client
Mobile Data Network Details
1. Fetches Device IP Address
2. Fetches Device Mac Address
3. Fetches International Mobile Station Equipment Identity (IMEI ) number of the device
4. Fetches Android Unique ID, which is a 64-bit number (as a hex string) that is randomly generated on the device's first boot and remain constant for the lifetime of the device
1. Open Wireless and Networks Page directly
2. Show’s Wi-Fi router name to which device is connected
3. Fetches IP Address assigned to device via Wi-Fi router
4. Fetches the basic service set identifier (BSSID) of the current access point. The BSSID may be null if there is no network currently connected. The BSSID, in the form of a six-byte MAC address: XX:XX:XX:XX:XX:XX
5. Reads Wired Equivalent Privacy (WEP) configuration details. A WEP key is a security code system for Wi-Fi networks. WEP keys allow a group of devices on a local network (such as a home network) to exchange encoded messages with each other while hiding the contents of the messages from easy viewing by outsiders.
1. Get’s detail if Wi-Fi hotspot is turned ON or disabled
2. If device’s Wi-Fi hotspot is ON , and some devices are using this Wi-Fi hotspot, then details, IPAddress, HWAddress etc can be obtained using “Get Wi-Fi Hotspot details” features.
1. Used ActionBarShelock for action actionbar design. http://actionbarsherlock.com/ ActionBarSherlock is an extension of the support library designed to facilitate the use of the action bar design pattern across all versions of Android with a single API.
2. Wi-Fi hotspot details information, has been referred from https://github.com/nickrussler/Android-Wifi-Hotspot-Manager-Class, This project is open source and free, it is available under the Apache v2 License
3. Network Time, it has been referred from http://ftp.gunadarma.ac.id/android/sdk/sdk_310712/sources/android-14/android/net/SntpClient.java, it comes under http://www.apache.org/licenses/LICENSE-2.0
Donate version available, buy me a coffee :)
Shows info about the phone and the current network, Bluetooth, IPv6 and Cell connection.
It also shows your public/external IP & hostname.
Only goes on-line to get and resolve the public IP via my own server http://aschillings.co.uk/myscripts/getip.php and to remotely resolve it (see notes below). Initially the application was also using whatismyip.org but, as the server seems to be constantly down it was removed.
>> 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.
•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.)
•Your current location according to Android based on your network neighbours. No GPS is needed or used.
•Information regarding Bluetooth status, the current Bluetooth connection(s) and info about past pairings.
•IPv6 device and router IP addresses for all device interfaces (see notes, this should now work for everyone).
>> Notes <<
•This is an expansion of the 'Network Info' application, to support more phones based on the 2.1 Android API.
•I only have a GSM/UMTS phone. If anything funny happens on any other phone type, email me and I will try to fix it.
•This application will connect to the network only to fetch your external IP/Hostname (using http://aschillings.co.uk/myscripts/getip.php and http://aschillings.co.uk/myscripts/gethostname.php). No other information is sent (my policy is located below).
•Please email me about any bugs or features you want. I cannot see all market comments and I am not notified when someone does comment.
•The IPv6 part should now work for everyone. If that is not the case for you, please email me (email@example.com) so I can try to fix it. If possible, download 'Under the hood' from the market and send me the results via export.
•If you want to show the Vendor which owns a MAC address, download 'MAC (OUI) Database' from the market (it is one of my applications) and use it to download a copy of the OUI database.
•In version v0.5.2 I added remote hostname resolution which is your public hostname as is resolved by my server. It should be the same as your external hostname, unless there is a record propagation delay or your DNS server is lying (like some home routers which resolve their external address as a local hostname). My server is hosted by 1and1 so this will be unreliable if you use the same DNS servers.
•'Ext. Hostname (L)' is the hostname your device resolves your external IP (local resolve).\n
•'Ext. Hostname (R)' is the hostname my server resolves your external IP (remote resolve).
•'Field Test' is a hidden application which comes installed in HTC phones. The menu item will only appear if the 'Field Test' is installed in your phone.
>> Known Issues <<
Samsung devices do not display Neighbouring Cells. This is a problem in Samsung's Android implementation and there is nothing I can do.
>> Privacy Statement <<
I do not collect any information which can directly and uniquely identify and/or bind a user to a device or any other personal information. When you retrieve your external IP address, my server will log a standard website “hit” which is the same as if you browsed a page on my server using a browser. No other information is logged or kept.
Please email me with any bugs/problems/feature requests. I cannot reply to market comments which can make debugging difficult.
✔ Notification of connectivity changes: Wi-Fi, Mobile, Flight mode (with or without Wi-Fi), No connectivity.
✔ Easy, simple and useful.
✔ Set vibration and/or sound Notification.
✔ Show IP address and/or BSSID.
✔ Control events to be notified of (wifi, mobile, none)
✔ Option to set up flight mode notification
✔ Ongoing or regular notifications
✔ Changeable notification action (goto: Preferences, Wireless and network, Wi-Fi Settings)
✔ For both phones and tablets (Android 2.2+)
✔ Limited WiMAX Support
✔ Created with stability, reliability and performance in mind.
The permissions are for Wi-Fi and Mobile state checks and for touch.
I appreciate your feedback. If you have any questions or suggestions for future releases, please contact me.