get list of all users connected using wifi tethering in android

I am trying to get list of all connected users in wifi tethering. I know that i have to read dnsmasq.leases but the question is, where can I get this file from my mobile?

If i look at source code of wifi tethering open source app

  • Android OpenGL combination of SurfaceTexture (external image) and ordinary texture
  • Locating and remedying cause of large heap size
  • How to implement firebase cloud messaging in server side?
  • Can we Draw line in android canvas between two points given by gyroscope?
  • Unable to access App Engine Application running in Android Studio using Android Device Application in LAN
  • Android :app:transformClassesWithJarMergingForDebug FAILED - ZipException: duplicate entry
  • i get the file path in here


    I might not be using this app for wifi tethering. So then how can i get the file location to read all connected users?

    Related posts:

    Hide/Show Action Bar Option Menu Item for different fragments
    How do I use obtainStyledAttributes(int ) with internal Themes of Android
    Which is the best method to excecute a task repeatedly in android ? (Eg :- Refreshing scores, Update...
    Android Nested Scrollview not scrolling
    Android ListView Universal Image Loader Changes Images on Scroll
    What are export_includes and import_includes files when building Android
  • Shared Element Transition not working on first load with Picasso
  • How to connect to Password protected SQLite DB with OrmLite?
  • Error - The import can not be resolved
  • How to read google calendar events in android?
  • Getting SSLHandShakeException
  • Horrible ImageView bitmap quality?
  • 2 Solutions collect form web for “get list of all users connected using wifi tethering in android”

    Do not create a dependency of your app on some external app data.

    See this link to know how to get the list of connected WiFi devices.

    You can use Zero-conf bonjour protocol to discover other devices.

    Android application Wi-Fi device – AP connectivity

    Why don’t you make a new file, and catch usernames as they enter the wifi, writing to the file. Then remove names when they leave the wifi, instead of constantly checking names. Maybe check once every 10 seconds? +1 if this helps, -1 if it doesn’t.

    Sorry for lack of formatting, but I’m on my phone.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.