Developer Builds Fully Offline Android Geofencing App to Auto-Silence Phones
A developer built Muffle, an Android app that automatically manages phone sound profiles based on location and time, after witnessing a disruptive ringtone incident at a mosque. Unlike most location-aware apps, Muffle operates entirely offline, running all logic locally on the device without any server dependency. The app uses Google Play Services' GeofencingClient for spatial triggers and AlarmManager for time-based ones, with PendingIntent waking the app only when needed to conserve battery. When a user crosses a predefined geofence boundary, the OS fires an intent directly to the app's broadcast receiver, which executes an AudioManager call to silence the phone within milliseconds. The developer noted that Android's location accuracy proved less predictable than expected, with geofence trigger precision varying significantly based on whether the device relied on GPS, Wi-Fi scanning, or indoor positioning.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in