javaandroidwifihotspot

Turning on a Wifi Hotspot in an Android App Automatically


I have an android program, written in Java and it uses a Wifi Hotspot, which at the minute I am having to turn on and give the settings manually.

I would like for the hotspot to be turned on with my settings from inside the program.

I have seen a few posts relating to this, some people with answers but they don't seem to be very clear.

Does anyone know of anything that can help me?


Solution

  • as far as I know there' absolutely no API on Android to achieve this functionality. The maximum you can do is like on this app https://play.google.com/store/apps/details?id=com.budius.WiFiShoot that it checks if the feature is enabled, and in case it's not it sends the user to the settings screen.