Is it possible to programmatically enable the Wi-Fi hotspot to enable the binding? I tried the code here and here . Both examples run without exception, but when I look at the โModem and portable hotspotโ section in the Wi-Fi settings, the binding is still disabled. Is this only possible for internal Google applications?
EDIT . I am using Android 5.1 and I am trying to do this without starting the phone.
java android android-wifi
CalumMcCall
source share