by Jon Zuniga
*Auto on/off WiFi
*Ping for internet connection
Real basic flow that does the job. Keeps wifi on ONLY when there is a working, internet connected network. Will automatically search and connect to wifi while using your device.
Turns wifi off when there is no usable connection (wifi signal under 10% and no actual connection to the internet).
It looks for network when screen turned on or phone moved with screen on and also pings Cloudflare's DNS (22.214.171.124) to ensure internet connectivity.
This flow uses android's built-in connection management and saved ssids.
YOU NEED TO SET WIFI SLEEPING MODE TO "ALWAYS ON".
Otherwise, the android system will fail to connect to any wifi, and then only a reboot corrects the issue.
**Let me know what you think below. If you give low stars and no words, I can't help or make updates. Help me help you.
Reviews and ratings can be submitted in the app.