I have to write an app that enables hotspot programmatically. After doing a lot of search, I realized that is impossible to be done with public API.
So I decide to use private API, though my app can not publish to store. There are some steps that I have to do:
- Check if hotspot is enabled?
- Notify user, then enable hotspot in case OK.
- After enabled hotspot. I will use ARP table to check client is connected to hotspot.
I know my ideal is not good. But it seems that there is no other way to do it.
Please let me know if you have experience about my problem.