Using WifiManger and reflection (to find the enablewifiap () method), I can turn on the Wi-Fi modem to create a Wi-Fi access point.
However, I would like to disable DHCP for other devices that will connect to the phone, which acts as a hot spot. I can not find any functions that could achieve this. Anyone have a solution?
source
share