u/sweetnuttybanana

Kept falling asleep on the bus, so I added Location Alarms to NeoAlarm
▲ 60 r/BDDevs

Kept falling asleep on the bus, so I added Location Alarms to NeoAlarm

I kept falling asleep on the bus while returning from tuition and overshooting my stop by a couple kilometers, so I built this lol. The idea is simple: pick a destination, choose a radius, and NeoAlarm rings when you get close instead of at a fixed time.

Uses MapLibre map with OSM/OpenFreeMap tiles, Photon for search, and optional OpenCage reverse geocoding.

Instead of continuously polling GPS, it uses Android geofencing + passive location updates for a two-tier privacy/battery friendlier approach.

The app also tracks health states so it can show when a location alarm is not actually ready, such as:

- location permission missing

- background location missing

- location services off

- geofence not armed

- already inside the target radius

I tested it multiple times on my Samsung, plus power-saving mode to make things a little harder, over my usual IUT-Uttara route and it fired successfully near the destination. Except if I force stop it from settings in which case it didn't fire, will look into that next, but afaik it's intended behavior from Android.

Repo: https://github.com/NFRohan/NeoAlarm

u/sweetnuttybanana — 3 days ago