Android has the great option to let you Tether your connection via wifi, but as developer you got little to none control over this mechanism.
Therefore i wrote a class to correct this: WifiApManager.
With this class you can check the current Status of the Hotspot, enable/disable it, get/set the current AP configuration and also get the list of currently connected clients.
I also made an example to demonstrate it’s capabilities: