Navigate / search

Automatically Turn on Android Hotspot

When I get out of the house, I usually bring along gadgets that need to connect to the Internet. In my case, I have an Android mobile phone that has the data subscription. I usually turn on the phone’s WiFi Hotspot feature so that my other gadgets will be able to connect to the internet. For me, it has gotten to a point that I decided to do something about this repetitive task of turning on and off my phone’s WiFi Hotspot whenever I leave or arrive my house.

One of the things I love about Android as a developer is the freedom of being able to have control of what I want my mobile phone to do. So I did an Android appĀ  (called Auto Hotspot) that turns on my phone’s WiFi Hotspot whenever I leave the house so that my other gadgets can connect to the internet via the phone’s WiFi Hotspot. And when I arrive home, the app automatically turns off the WiFi Hotspot so that my gadgets can connect to my home WiFi to use the Internet connection on my home’s network.

I’ve been using the app for several weeks now and it has been a great boon for several reasons: 1. I don’t have to keep doing it manually anymore. 2. It reduces the usage on my mobile phone’s limited data allocation (previously, there are occasions that I would forget to turn off my mobile phone’s WiFi Hotspot and my other gadgets would keep connecting to the Internet using my mobile phone instead of my home network.

I just love the convenience that it has given me to the point that everything is transparently happening that I even forget that I have such an app installed on my Android phone.

How does it work

I’ve basically created an app that monitors an Beacon installed in my home. Whenever the app detects the presence of the Beacon, it will programmatically turn off the Android mobile phone’s WiFi Hotspot feature. When the app detects that the Beacon is out of range (meaning I am not inside the house), it turns on my Android phone’s WiFi Hotspot. The process happens transparently in the background without me having to intervene. The only thing I had to do once I’ve installed the app is to configure it to recognize the Beacon parameters I have in my home.

Once, the Beacon parameters are configured, I just turn on the app’s automatic WiFi Hotspot feature and activate Beacon monitoring.

I’ve added an app widget to allow me to control and monitor the app’s status easily from my Android phone’s home screen without having to bring up the full app screen on my mobile phone as an added convenience.

Download the Auto Hotspot app

You can buy the app on Google Play

Gerry Ilagan

Gerry Ilagan is into mobile apps and WordPress development at @speeqs. He loves to write about electronics, the Internet of Things, mobile phones, and #crazyideas.

Leave a comment


email* (not published)


Blog Library