No Internet? No Problem!
summary
Off Grid Electric builds an Android app that keeps field agents working in 2G or airplane mode by storing data locally, queuing actions and syncing later; the architecture uses MVP pattern to separate UI and network, a local DB (Realm), a pub/sub layer (EventBus), and job queuing (Android-Job) to schedule retries. APIs include timestamps, status fields and bundled endpoints for deltas and conflict resolution. The system successfully lets agents complete orders offline, persist changes, and get notified when background syncs finish.
AI-written summary · about
chapters (9)
- 0:00Introduction to offline app
- 1:17Challenges in offline development
- 4:09Architecture design overview
- 8:04API collaboration and sync strategies
- 10:29Third-party libraries used
- 13:39Realm database implementation
- 14:02Event bus for state changes
- 17:39Queuing requests with Android Job
- 23:41Future improvements and Q&A
related talks
35mAndroid is the world phone
53mNo Signal, No Problem: How We Collect Data in the Most Remote Places
36m“Make your app work perfectly offl…” — Connection Interrupted
15mBuilding Apps for Rural Users in Kenya
37mIdemnity in the Data Layer
42mAndroid Application Architecture
38mThe real case of offline-first app: Farmer App…
38m"Offline" is not an error
