- Published on
- Reading time
- 15 min read
GPS Simulator, part 6: home screen widgets and a live map Android won’t let exist
A home screen widget can’t run a real map; it only shows ready-made images and text. This part covers the four widgets, how the Dart service hands them state through shared preferences, how their buttons work without opening the app, and how the live map is drawn in Kotlin on every step: Web Mercator by hand, a tile cache that follows the OpenStreetMap policy, and a bitmap small enough to cross a binder. It closes the series with what I learned.