Skip to content

wyy-47/DayCountWidget_Garmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Day Count Garmin Widget

Day counting widget for Garmin API 4.1.0+, this was wrote for personal use, so only tested on Epix gen2. This is a widget attempt to do what Days Matter does on iOS.

FlowChart

Bug

  1. Handle invalid user input date (such as 2.31)

Functions so far

  1. Glance view of an user-selected Event date, with the set date, and days counting up or down.
  2. In the widget, there are three slots to store dates, count up or down is decided by the input date.
  3. User can set galnce, edit, or delete events.
  4. Completed the info page, show days, and yr,mm,dd.
  5. Update menu after edit to a new date.

To do

  1. Find a way to update the glance once a day?
  2. Details on UI such as string location.
  3. Reorganize the files and folders.
  4. Maybe somehow type in the date (or better than pick between 2018-2026)?
  5. Notification system. (doesn't seem to be possible so far)
    • When the count down reach 0.
    • anniversary

Documentation

Fixed bugs (maybe improve in the future)

  1. Edit -> set glance, will cause error
    • Fixed, now edit -> init menu (not fixed, will stuck between main and confirmed)
    • Another approach: pass down the menu as parent menu, then call menu and eventmenudelegate. parent menu arg
      • this works with Ui.switchToView, but somehow on the edit menu, needs to press back twice.
        • fixed by pop onece, everything is working good, also updates menu after edit.

Logs

  1. Using the built-in confirmation for both glance and delete confirmation.

Acknowledgement

The icon is from Emotion icons created by Baianat - Flaticon. Some sample codes from the API package was modified and used.

About

Day counting widget for Garmin API 4.1.0+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published