Widget: Sunrise Sunset

Former Member
Former Member
https://apps.garmin.com/en-US/apps/97352d10-5316-4e9c-8399-288228d3dcb2

Just uploaded and approved. Only tested in simulator so far, if anyone wants to test on a real device I'd be happy to hear how it looks and works.

The code is also available, with sunrise equation based on wikipedia

https://github.com/tradespoke/SunriseSunset/blob/master/source/SunriseEquation.mc
  • Crashes can do and happen - especially with beta software.
    I am just not clear that this widget, as it currently stands, can actually work at all?
    Is the simulator flawed here?
  • Former Member
    Former Member over 10 years ago
    Replace Activity with Position and it will work. It will have to wait until next release
  • This works for me, but I'm also seeing the bug Travis mentioned where the time appears cut off at the top of the screen, and the sunrise/sunset time is never displayed (presumably, it's off the screen). This only occurs when I page down to the widget. If I page up, the time appears centered and all of the elements are visible. I haven't seen it crash, yet, but I've received other reports of it crashing the device.