Is there any way to get a the list of connected MAC addresses when my phone is on Wi-Fi tethering mode?
Android – Wi-Fi tethering – how to get list of connected clients
androidtetheringwifi
Related Topic
- Android – How to lazy load images in ListView in Android
- Android – How to close/hide the Android soft keyboard programmatically
- Android – How to stop EditText from gaining focus at Activity startup in Android
- Android – Static way to get ‘Context’ in Android
- Java – How to discover memory usage of the application in Android
- Android – way to get the source code from an APK file
- Android – Run/install/debug Android applications over Wi-Fi
- Android – How to “select Android SDK” in Android Studio
Best Answer
Firstly, you must have a rooted device. When it's done just read dnsmasq.leases file. Usually it is placed at: /data/misc/dhcp/dnsmasq.leases. A structure of the file is pretty simple - each line is a summary of a connected user. The summary has several fields including MAC. I didn't find a possibility to get MAC without root. Please correct me if I'm wrong.