This Android application receives structured emergency SMS messages and forwards them to an EPICS backend using HTTP POST. Messages follow the format:
EPICS#<STATUS>#<LATITUDE,LONGITUDE>#<COUNTRY>
- Runs in the background and listens for SMS messages from authorized senders.
- Filters messages based on the
EPICSprefix. - Extracts status, location and country information.
- Logs incoming messages in a local Room database with retry tracking.
- Forwards information to a configurable API endpoint using
OkHttp. - Uses
WorkManagerwith network constraints so messages are retried automatically when connectivity is restored. - Simple PIN-protected admin screen for setting the API URL.
This repository only contains a skeleton implementation; additional work is required to build a production-ready application.