├── _config.yml
├── .DS_Store
├── Applications
├── .DS_Store
└── Flashlight
│ ├── .DS_Store
│ ├── bin
│ ├── Flashlight.prg
│ ├── Flashlight-settings.json
│ └── Flashlight.prg.debug.xml
│ ├── source
│ ├── .DS_Store
│ ├── FlashlightDelegate.mc
│ ├── FlashlightMenuDelegate.mc
│ ├── FlashlightApp.mc
│ └── FlashlightView.mc
│ ├── resources
│ ├── .DS_Store
│ ├── menus
│ │ └── menu.xml
│ ├── drawables
│ │ ├── drawables.xml
│ │ ├── .DS_Store
│ │ ├── monkey.png
│ │ ├── backpng.png
│ │ └── launcher_icon.png
│ ├── layouts
│ │ ├── .DS_Store
│ │ └── layout.xml
│ ├── settings
│ │ ├── .DS_Store
│ │ ├── properties.xml
│ │ └── settings.xml
│ └── strings
│ │ ├── .DS_Store
│ │ └── strings.xml
│ ├── .project
│ └── manifest.xml
├── Watchfaces
├── .DS_Store
├── DayShift
│ ├── .DS_Store
│ ├── bin
│ │ ├── DayShift.prg
│ │ └── DayShift-settings.json
│ ├── resources
│ │ ├── .DS_Store
│ │ ├── drawables
│ │ │ ├── drawables.xml
│ │ │ ├── .DS_Store
│ │ │ ├── Foot.png
│ │ │ ├── batt.png
│ │ │ ├── Footblack.png
│ │ │ ├── battblack.png
│ │ │ └── launcher_icon.png
│ │ ├── settings
│ │ │ ├── properties.xml
│ │ │ └── settings.xml
│ │ ├── strings
│ │ │ └── strings.xml
│ │ └── layouts
│ │ │ └── layout.xml
│ ├── .project
│ ├── source
│ │ ├── DayShiftApp.mc
│ │ ├── DayShiftBackground.mc
│ │ └── DayShiftView.mc
│ └── manifest.xml
├── LeftHand Watchface
│ ├── .DS_Store
│ ├── resources
│ │ ├── .DS_Store
│ │ ├── drawables
│ │ │ ├── drawables.xml
│ │ │ ├── .DS_Store
│ │ │ ├── Foot.png
│ │ │ ├── back.png
│ │ │ ├── back.xcf
│ │ │ ├── batt.png
│ │ │ ├── blank.png
│ │ │ ├── phone.png
│ │ │ └── launcher_icon.png
│ │ ├── settings
│ │ │ ├── properties.xml
│ │ │ └── settings.xml
│ │ ├── strings
│ │ │ └── strings.xml
│ │ └── layouts
│ │ │ └── layout.xml
│ ├── bin
│ │ ├── LeftHand Watchface.prg
│ │ └── LeftHand Watchface-settings.json
│ ├── .project
│ ├── source
│ │ ├── LeftHandWatchfaceBackground.mc
│ │ ├── LeftHandWatchfaceApp.mc
│ │ └── LeftHandWatchfaceView.mc
│ └── manifest.xml
├── LeftHand Watchface - Round
│ ├── .DS_Store
│ ├── resources
│ │ ├── drawables
│ │ │ ├── drawables.xml
│ │ │ ├── .DS_Store
│ │ │ ├── Foot.png
│ │ │ ├── back.png
│ │ │ ├── back.xcf
│ │ │ ├── batt.png
│ │ │ ├── blank.png
│ │ │ ├── phone.png
│ │ │ └── launcher_icon.png
│ │ ├── .DS_Store
│ │ ├── settings
│ │ │ ├── properties.xml
│ │ │ └── settings.xml
│ │ ├── strings
│ │ │ └── strings.xml
│ │ └── layouts
│ │ │ └── layout.xml
│ ├── bin
│ │ ├── LeftHand Watchface - Round.prg
│ │ ├── LeftHand Watchface - Round-settings.json
│ │ └── LeftHand Watchface - Round.prg.debug.xml
│ ├── .project
│ ├── source
│ │ ├── LeftHandWatchfaceBackground.mc
│ │ ├── LeftHandWatchfaceApp.mc
│ │ └── LeftHandWatchfaceView.mc
│ └── manifest.xml
└── LeftHand Watchface - Forerunner
│ ├── .DS_Store
│ ├── resources
│ ├── drawables
│ │ ├── drawables.xml
│ │ ├── .DS_Store
│ │ ├── Foot.png
│ │ ├── back.png
│ │ ├── back.xcf
│ │ ├── batt.png
│ │ ├── blank.png
│ │ ├── phone.png
│ │ └── launcher_icon.png
│ ├── .DS_Store
│ ├── settings
│ │ ├── properties.xml
│ │ └── settings.xml
│ ├── strings
│ │ └── strings.xml
│ └── layouts
│ │ └── layout.xml
│ ├── source
│ ├── .DS_Store
│ ├── LeftHandWatchfaceBackground.mc
│ ├── LeftHandWatchfaceApp.mc
│ └── LeftHandWatchfaceView.mc
│ ├── .settings
│ └── org.eclipse.ltk.core.refactoring.prefs
│ ├── bin
│ ├── LeftHand Watchface - Forerunner.prg
│ └── LeftHand Watchface - Forerunner-settings.json
│ ├── .project
│ └── manifest.xml
├── Data Fields
├── 15MinTimeDF
│ ├── .DS_Store
│ ├── ._.DS_Store
│ ├── bin
│ │ ├── 15MinTimeDF.prg
│ │ ├── 15MinTimeDF-settings.json
│ │ └── 15MinTimeDF.prg.debug.xml
│ ├── resources
│ │ ├── .DS_Store
│ │ ├── ._.DS_Store
│ │ ├── drawables
│ │ │ ├── drawables.xml
│ │ │ └── launcher_icon.png
│ │ ├── strings
│ │ │ └── strings.xml
│ │ └── settings
│ │ │ ├── properties.xml
│ │ │ └── settings.xml
│ ├── 15 Minute View Data Field.OLD
│ │ ├── resources
│ │ │ ├── strings
│ │ │ │ └── strings.xml
│ │ │ └── drawables
│ │ │ │ ├── drawables.xml
│ │ │ │ └── launcher_icon.png
│ │ ├── bin
│ │ │ ├── AveVSCurHR.prg
│ │ │ └── AveVSCurHR.prg.debug.xml
│ │ ├── source
│ │ │ ├── AveVSCurHRApp.mc
│ │ │ └── AveVSCurHRView.mc
│ │ └── manifest.xml
│ ├── .project
│ ├── source
│ │ ├── MinTimeDFApp.mc
│ │ └── MinTimeDFView.mc
│ └── manifest.xml
├── HalfKMDistDF
│ ├── .DS_Store
│ ├── ._.DS_Store
│ ├── bin
│ │ ├── HalfKMDist.prg
│ │ ├── HalfKMDist-settings.json
│ │ └── HalfKMDist.prg.debug.xml
│ ├── resources
│ │ ├── drawables
│ │ │ ├── drawables.xml
│ │ │ └── launcher_icon.png
│ │ ├── strings
│ │ │ └── strings.xml
│ │ └── settings
│ │ │ ├── properties.xml
│ │ │ └── settings.xml
│ ├── .project
│ ├── source
│ │ ├── HalfKMDistApp.mc
│ │ └── HalfKMDistView.mc
│ └── manifest.xml
└── TurnAroundReminder
│ ├── resources
│ ├── strings
│ │ └── strings.xml
│ └── drawables
│ │ ├── drawables.xml
│ │ └── launcher_icon.png
│ ├── bin
│ ├── TurnAroundReminder.prg
│ └── TurnAroundReminder.prg.debug.xml
│ ├── .project
│ ├── source
│ ├── TurnAroundReminderApp.mc
│ └── TurnAroundReminderView.mc
│ └── manifest.xml
├── Widgets
└── Flashlight Widget
│ ├── .DS_Store
│ ├── ._.DS_Store
│ ├── resources
│ ├── drawables
│ │ ├── drawables.xml
│ │ ├── .DS_Store
│ │ ├── ._.DS_Store
│ │ ├── backpng.png
│ │ ├── monkey.png
│ │ ├── ._backpng.png
│ │ └── launcher_icon.png
│ ├── .DS_Store
│ ├── ._.DS_Store
│ ├── settings
│ │ ├── .DS_Store
│ │ ├── properties.xml
│ │ └── settings.xml
│ ├── layouts
│ │ └── layout.xml
│ └── strings
│ │ └── strings.xml
│ ├── bin
│ ├── Flashlight Widget.prg
│ ├── Flashlight Widget-settings.json
│ └── Flashlight Widget.prg.debug.xml
│ ├── .project
│ ├── source
│ ├── FlashlightWidgetApp.mc
│ └── FlashlightWidgetView.mc
│ └── manifest.xml
├── gcommit.sh
└── README.md
/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-cayman
--------------------------------------------------------------------------------
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/.DS_Store
--------------------------------------------------------------------------------
/Applications/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/DayShift/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/DayShift/.DS_Store
--------------------------------------------------------------------------------
/Applications/Flashlight/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/.DS_Store
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/15MinTimeDF/.DS_Store
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/HalfKMDistDF/.DS_Store
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/15MinTimeDF/._.DS_Store
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/HalfKMDistDF/._.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/DayShift/bin/DayShift.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/DayShift/bin/DayShift.prg
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/.DS_Store
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/._.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/DayShift/resources/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/.DS_Store
--------------------------------------------------------------------------------
/Applications/Flashlight/bin/Flashlight.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/bin/Flashlight.prg
--------------------------------------------------------------------------------
/Applications/Flashlight/source/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/source/.DS_Store
--------------------------------------------------------------------------------
/Data Fields/TurnAroundReminder/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | TurnAroundReminder
3 |
4 |
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/resources/.DS_Store
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/menus/menu.xml:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/bin/15MinTimeDF.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/15MinTimeDF/bin/15MinTimeDF.prg
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/resources/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/15MinTimeDF/resources/.DS_Store
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/bin/HalfKMDist.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/HalfKMDistDF/bin/HalfKMDist.prg
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/resources/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/15MinTimeDF/resources/._.DS_Store
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/.DS_Store
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/resources/.DS_Store
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/resources/._.DS_Store
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | AveVSCurHR
3 |
4 |
--------------------------------------------------------------------------------
/Data Fields/TurnAroundReminder/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/drawables/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/DayShift/resources/drawables/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/drawables/Foot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/DayShift/resources/drawables/Foot.png
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/drawables/batt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/DayShift/resources/drawables/batt.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/resources/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/layouts/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/resources/layouts/.DS_Store
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/settings/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/resources/settings/.DS_Store
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/strings/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/resources/strings/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/.DS_Store
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/bin/Flashlight Widget.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/bin/Flashlight Widget.prg
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/drawables/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/resources/drawables/.DS_Store
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/drawables/monkey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/resources/drawables/monkey.png
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/drawables/Footblack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/DayShift/resources/drawables/Footblack.png
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/drawables/battblack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/DayShift/resources/drawables/battblack.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/settings/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/resources/settings/.DS_Store
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/drawables/backpng.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/resources/drawables/backpng.png
--------------------------------------------------------------------------------
/Data Fields/TurnAroundReminder/bin/TurnAroundReminder.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/TurnAroundReminder/bin/TurnAroundReminder.prg
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/DayShift/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/resources/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/bin/LeftHand Watchface.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/bin/LeftHand Watchface.prg
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/drawables/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/resources/drawables/.DS_Store
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/drawables/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/resources/drawables/._.DS_Store
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/drawables/backpng.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/resources/drawables/backpng.png
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/drawables/monkey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/resources/drawables/monkey.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/source/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/source/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/drawables/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/resources/drawables/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/drawables/Foot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/resources/drawables/Foot.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/drawables/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/resources/drawables/back.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/drawables/back.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/resources/drawables/back.xcf
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/drawables/batt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/resources/drawables/batt.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/drawables/blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/resources/drawables/blank.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/drawables/phone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/resources/drawables/phone.png
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/drawables/._backpng.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/resources/drawables/._backpng.png
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Applications/Flashlight/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/resources/drawables/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/15MinTimeDF/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/HalfKMDistDF/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/resources/.DS_Store
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Widgets/Flashlight Widget/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/drawables/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/resources/drawables/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/drawables/Foot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/resources/drawables/Foot.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/drawables/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/resources/drawables/back.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/drawables/back.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/resources/drawables/back.xcf
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/drawables/batt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/resources/drawables/batt.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/drawables/blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/resources/drawables/blank.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/drawables/phone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/resources/drawables/phone.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Data Fields/TurnAroundReminder/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/TurnAroundReminder/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/.settings/org.eclipse.ltk.core.refactoring.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
3 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/bin/AveVSCurHR.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/bin/AveVSCurHR.prg
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | HalfKMDist
3 | Display Distance Format in Workout?
4 |
5 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/.DS_Store
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/Foot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/Foot.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/back.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/back.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/back.xcf
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/batt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/batt.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/blank.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/phone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/phone.png
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/bin/LeftHand Watchface - Round.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/bin/LeftHand Watchface - Round.prg
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | 15MinTimeDF
3 |
4 | Display Time Format in Workout?
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Round/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/settings/properties.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1.2.0
4 | False
5 |
6 |
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/settings/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/bin/LeftHand Watchface - Forerunner.prg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/bin/LeftHand Watchface - Forerunner.prg
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Watchfaces/LeftHand Watchface - Forerunner/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/settings/properties.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1.2.0
4 | False
5 |
6 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/resources/settings/properties.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1.1.0
4 | True
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/resources/settings/properties.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1.0
4 | True
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/settings/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/resources/settings/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/resources/settings/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/resources/drawables/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnnyw3/connectiq-watchapps/HEAD/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/resources/drawables/launcher_icon.png
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/layouts/layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/layouts/layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/settings/properties.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 0x000000
4 | 0xFF0000
5 | false
6 | false
7 |
8 |
--------------------------------------------------------------------------------
/Applications/Flashlight/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Flashlight
3 |
4 | Click the menu button
5 |
6 | Would you like the time to be displayed in the app?
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Flashlight Widget
3 |
4 | Click the menu button
5 |
6 | Would you like the time to be displayed in the app?
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/settings/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Applications/Flashlight/source/FlashlightDelegate.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 |
3 | class FlashlightDelegate extends Ui.BehaviorDelegate {
4 |
5 | function initialize() {
6 | BehaviorDelegate.initialize();
7 | }
8 |
9 | function onMenu() {
10 | Ui.pushView(new Rez.Menus.MainMenu(), new FlashlightMenuDelegate(), Ui.SLIDE_UP);
11 | return true;
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/settings/properties.xml:
--------------------------------------------------------------------------------
1 |
2 | 1
3 | 1
4 | 0xFFFFFF
5 | false
6 | 1
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Applications/Flashlight/source/FlashlightMenuDelegate.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.System as Sys;
3 |
4 | class FlashlightMenuDelegate extends Ui.MenuInputDelegate {
5 |
6 | function initialize() {
7 | MenuInputDelegate.initialize();
8 | }
9 |
10 | function onMenuItem(item) {
11 | if (item == :item_1) {
12 | System.exit();
13 | }
14 | }
15 |
16 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/settings/properties.xml:
--------------------------------------------------------------------------------
1 |
2 | 1
3 | 1
4 | 0xFFFFFF
5 | false
6 | 1
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/bin/15MinTimeDF-settings.json:
--------------------------------------------------------------------------------
1 | {"settings":[{"key":"settitle","valueType":"boolean","defaultValue":true,"configTitle":"settitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"boolean","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null}],"languages":{"valyrian":{"settitle":"Display Time Format in Workout?","AppName":"15MinTimeDF"}}}
--------------------------------------------------------------------------------
/Watchfaces/DayShift/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | DayShift
4 |
5 |
6 |
7 |
8 |
9 | connectiq.builder
10 |
11 |
12 |
13 |
14 |
15 | connectiq.projectNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/bin/HalfKMDist-settings.json:
--------------------------------------------------------------------------------
1 | {"settings":[{"key":"settitle","valueType":"boolean","defaultValue":true,"configTitle":"settitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"boolean","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null}],"languages":{"valyrian":{"settitle":"Display Distance Format in Workout?","AppName":"HalfKMDist"}}}
--------------------------------------------------------------------------------
/Applications/Flashlight/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | Flashlight
4 |
5 |
6 |
7 |
8 |
9 | connectiq.builder
10 |
11 |
12 |
13 |
14 |
15 | connectiq.projectNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | 15MinTimeDF
4 |
5 |
6 |
7 |
8 |
9 | connectiq.builder
10 |
11 |
12 |
13 |
14 |
15 | connectiq.projectNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | HalfKMDist
4 |
5 |
6 |
7 |
8 |
9 | connectiq.builder
10 |
11 |
12 |
13 |
14 |
15 | connectiq.projectNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | Flashlight Widget
4 |
5 |
6 |
7 |
8 |
9 | connectiq.builder
10 |
11 |
12 |
13 |
14 |
15 | connectiq.projectNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | LeftHand Watchface
4 |
5 |
6 |
7 |
8 |
9 | connectiq.builder
10 |
11 |
12 |
13 |
14 |
15 | connectiq.projectNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/settings/properties.xml:
--------------------------------------------------------------------------------
1 |
2 | 1
3 | 1
4 | 0xFFFFFF
5 | false
6 | 1
7 | false
8 |
9 |
--------------------------------------------------------------------------------
/Data Fields/TurnAroundReminder/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | TurnAroundReminder
4 |
5 |
6 |
7 |
8 |
9 | connectiq.builder
10 |
11 |
12 |
13 |
14 |
15 | connectiq.projectNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | LeftHand Watchface - Round
4 |
5 |
6 |
7 |
8 |
9 | connectiq.builder
10 |
11 |
12 |
13 |
14 |
15 | connectiq.projectNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | LeftHand Watchface - Forerunner
4 |
5 |
6 |
7 |
8 |
9 | connectiq.builder
10 |
11 |
12 |
13 |
14 |
15 | connectiq.projectNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Applications/Flashlight/bin/Flashlight-settings.json:
--------------------------------------------------------------------------------
1 | {"settings":[{"key":"time","valueType":"boolean","defaultValue":false,"configTitle":"istime","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"boolean","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null}],"languages":{"valyrian":{"istime":"Would you like the time to be displayed in the app?","menu_label_1":"Exit","menu_label_2":"Item 2","prompt":"Click the menu button","AppName":"Flashlight"}}}
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/bin/Flashlight Widget-settings.json:
--------------------------------------------------------------------------------
1 | {"settings":[{"key":"time","valueType":"boolean","defaultValue":false,"configTitle":"istime","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"boolean","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null}],"languages":{"valyrian":{"istime":"Would you like the time to be displayed in the app?","menu_label_1":"Exit","menu_label_2":"Item 2","prompt":"Click the menu button","AppName":"Flashlight Widget"}}}
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/source/MinTimeDFApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 |
3 | class MinTimeDFApp extends App.AppBase {
4 |
5 | function initialize() {
6 | AppBase.initialize();
7 | }
8 |
9 | // onStart() is called on application start up
10 | function onStart(state) {
11 | }
12 |
13 | // onStop() is called when your application is exiting
14 | function onStop(state) {
15 | }
16 |
17 | // Return the initial view of your application here
18 | function getInitialView() {
19 | return [ new MinTimeDFView() ];
20 | }
21 |
22 | }
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/source/HalfKMDistApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 |
3 | class HalfKMDistApp extends App.AppBase {
4 |
5 | function initialize() {
6 | AppBase.initialize();
7 | }
8 |
9 | // onStart() is called on application start up
10 | function onStart(state) {
11 | }
12 |
13 | // onStop() is called when your application is exiting
14 | function onStop(state) {
15 | }
16 |
17 | // Return the initial view of your application here
18 | function getInitialView() {
19 | return [ new HalfKMDistView() ];
20 | }
21 |
22 | }
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/source/FlashlightWidgetApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 |
3 | class FlashlightWidgetApp extends App.AppBase {
4 |
5 | function initialize() {
6 | AppBase.initialize();
7 | }
8 |
9 | // onStart() is called on application start up
10 | function onStart(state) {
11 | }
12 |
13 | // onStop() is called when your application is exiting
14 | function onStop(state) {
15 | }
16 |
17 | // Return the initial view of your application here
18 | function getInitialView() {
19 | return [ new FlashlightWidgetView() ];
20 | }
21 |
22 | }
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/source/AveVSCurHRApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 |
3 | class AveVSCurHRApp extends App.AppBase {
4 |
5 | function initialize() {
6 | AppBase.initialize();
7 | }
8 |
9 | // onStart() is called on application start up
10 | function onStart(state) {
11 | }
12 |
13 | // onStop() is called when your application is exiting
14 | function onStop(state) {
15 | }
16 |
17 | // Return the initial view of your application here
18 | function getInitialView() {
19 | return [ new AveVSCurHRView() ];
20 | }
21 |
22 | }
--------------------------------------------------------------------------------
/Data Fields/TurnAroundReminder/source/TurnAroundReminderApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 |
3 | class TurnAroundReminderApp extends App.AppBase {
4 |
5 | function initialize() {
6 | AppBase.initialize();
7 | }
8 |
9 | // onStart() is called on application start up
10 | function onStart(state) {
11 | }
12 |
13 | // onStop() is called when your application is exiting
14 | function onStop(state) {
15 | }
16 |
17 | // Return the initial view of your application here
18 | function getInitialView() {
19 | return [ new TurnAroundReminderView() ];
20 | }
21 |
22 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/source/LeftHandWatchfaceBackground.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.Application as App;
3 | using Toybox.Graphics as Gfx;
4 |
5 | class Background extends Ui.Drawable {
6 |
7 | function initialize() {
8 | var dictionary = {
9 | :identifier => "Background"
10 | };
11 |
12 | Drawable.initialize(dictionary);
13 | }
14 |
15 | function draw(dc) {
16 | // Set the background color then call to clear the screen
17 | dc.setColor(Gfx.COLOR_TRANSPARENT, App.getApp().getProperty("BackgroundColor"));
18 | dc.clear();
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/source/LeftHandWatchfaceBackground.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.Application as App;
3 | using Toybox.Graphics as Gfx;
4 |
5 | class Background extends Ui.Drawable {
6 |
7 | function initialize() {
8 | var dictionary = {
9 | :identifier => "Background"
10 | };
11 |
12 | Drawable.initialize(dictionary);
13 | }
14 |
15 | function draw(dc) {
16 | // Set the background color then call to clear the screen
17 | dc.setColor(Gfx.COLOR_TRANSPARENT, App.getApp().getProperty("BackgroundColor"));
18 | dc.clear();
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Applications/Flashlight/source/FlashlightApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 | using Toybox.WatchUi as Ui;
3 |
4 | class FlashlightApp extends App.AppBase {
5 |
6 | function initialize() {
7 | AppBase.initialize();
8 | }
9 |
10 | // onStart() is called on application start up
11 | function onStart(state) {
12 | }
13 |
14 | // onStop() is called when your application is exiting
15 | function onStop(state) {
16 | }
17 |
18 | // Return the initial view of your application here
19 | function getInitialView() {
20 | return [ new FlashlightView(), new FlashlightDelegate() ];
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/source/LeftHandWatchfaceBackground.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.Application as App;
3 | using Toybox.Graphics as Gfx;
4 |
5 | class Background extends Ui.Drawable {
6 |
7 | function initialize() {
8 | var dictionary = {
9 | :identifier => "Background"
10 | };
11 |
12 | Drawable.initialize(dictionary);
13 | }
14 |
15 | function draw(dc) {
16 | // Set the background color then call to clear the screen
17 | dc.setColor(Gfx.COLOR_TRANSPARENT, App.getApp().getProperty("BackgroundColor"));
18 | dc.clear();
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | DayShift
4 |
5 | Background Color
6 | Foreground Color
7 | Military Format/Don't display ":"
8 |
9 | Black
10 | Dark Gray
11 | Light Gray
12 | White
13 | Blue
14 | Red
15 | Display seconds when watch is raised.
16 |
17 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | eng
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/source/DayShiftApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 | using Toybox.WatchUi as Ui;
3 |
4 | class DayShiftApp extends App.AppBase {
5 |
6 | function initialize() {
7 | AppBase.initialize();
8 | }
9 |
10 | // onStart() is called on application start up
11 | function onStart(state) {
12 | }
13 |
14 | // onStop() is called when your application is exiting
15 | function onStop(state) {
16 | }
17 |
18 | // Return the initial view of your application here
19 | function getInitialView() {
20 | return [ new DayShiftView() ];
21 | }
22 |
23 | // New app settings have been received so trigger a UI update
24 | function onSettingsChanged() {
25 | Ui.requestUpdate();
26 | }
27 |
28 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/source/LeftHandWatchfaceApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 | using Toybox.WatchUi as Ui;
3 |
4 | class LeftHandWatchfaceApp extends App.AppBase {
5 |
6 | function initialize() {
7 | AppBase.initialize();
8 | }
9 |
10 | // onStart() is called on application start up
11 | function onStart(state) {
12 | }
13 |
14 | // onStop() is called when your application is exiting
15 | function onStop(state) {
16 | }
17 |
18 | // Return the initial view of your application here
19 | function getInitialView() {
20 | return [ new LeftHandWatchfaceView() ];
21 | }
22 |
23 | // New app settings have been received so trigger a UI update
24 | function onSettingsChanged() {
25 | Ui.requestUpdate();
26 | }
27 |
28 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/source/LeftHandWatchfaceApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 | using Toybox.WatchUi as Ui;
3 |
4 | class LeftHandWatchfaceApp extends App.AppBase {
5 |
6 | function initialize() {
7 | AppBase.initialize();
8 | }
9 |
10 | // onStart() is called on application start up
11 | function onStart(state) {
12 | }
13 |
14 | // onStop() is called when your application is exiting
15 | function onStop(state) {
16 | }
17 |
18 | // Return the initial view of your application here
19 | function getInitialView() {
20 | return [ new LeftHandWatchfaceView() ];
21 | }
22 |
23 | // New app settings have been received so trigger a UI update
24 | function onSettingsChanged() {
25 | Ui.requestUpdate();
26 | }
27 |
28 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/source/LeftHandWatchfaceApp.mc:
--------------------------------------------------------------------------------
1 | using Toybox.Application as App;
2 | using Toybox.WatchUi as Ui;
3 |
4 | class LeftHandWatchfaceApp extends App.AppBase {
5 |
6 | function initialize() {
7 | AppBase.initialize();
8 | }
9 |
10 | // onStart() is called on application start up
11 | function onStart(state) {
12 | }
13 |
14 | // onStop() is called when your application is exiting
15 | function onStop(state) {
16 | }
17 |
18 | // Return the initial view of your application here
19 | function getInitialView() {
20 | return [ new LeftHandWatchfaceView() ];
21 | }
22 |
23 | // New app settings have been received so trigger a UI update
24 | function onSettingsChanged() {
25 | Ui.requestUpdate();
26 | }
27 |
28 | }
--------------------------------------------------------------------------------
/Data Fields/TurnAroundReminder/source/TurnAroundReminderView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 |
3 | class TurnAroundReminderView extends Ui.SimpleDataField {
4 |
5 | // Set the label of the data field here.
6 | function initialize() {
7 | SimpleDataField.initialize();
8 | label = "Dist To Turn Around";
9 | }
10 |
11 | // The given info object contains all the current workout
12 | // information. Calculate a value and return it in this method.
13 | function compute(info) {
14 | // See Activity.Info in the documentation for available information.
15 | var tot = 10
16 | var togo = tot - info.elapsedDistance;
17 | if (togo << 0){
18 | if (turned == True){
19 | var todone = info.elapsedDistance - tot
20 | }
21 | if
22 | return 0.0;
23 | }
24 |
25 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | eng
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | eng
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | eng
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/bin/DayShift-settings.json:
--------------------------------------------------------------------------------
1 | {"settings":[{"key":"UseMilitaryFormat","valueType":"boolean","defaultValue":false,"configTitle":"MilitaryFormatTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"boolean","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"Secs","valueType":"boolean","defaultValue":false,"configTitle":"UseSecs","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"boolean","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null}],"languages":{"valyrian":{"ColorLightGray":"Light Gray","ColorBlue":"Blue","ColorRed":"Red","ForegroundColorTitle":"Foreground Color","BackgroundColorTitle":"Background Color","ColorDarkGray":"Dark Gray","MilitaryFormatTitle":"Military Format/Don\u0027t display \\\":\\\"","ColorBlack":"Black","ColorWhite":"White","UseSecs":"Display seconds when watch is raised.","AppName":"DayShift"}}}
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | eng
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/source/HalfKMDistView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 |
3 | class HalfKMDistView extends Ui.SimpleDataField {
4 |
5 | // Set the label of the data field here.
6 | function initialize() {
7 | SimpleDataField.initialize();
8 | var settitle = Application.getApp().getProperty("settitle");
9 | if (settitle == true){
10 | label = "Distance (KM)";
11 | }
12 | else{
13 | label = "Distance";
14 | }
15 | }
16 |
17 | // The given info object contains all the current workout
18 | // information. Calculate a value and return it in this method.
19 | function compute(info) {
20 | // See Activity.Info in the documentation for available information.
21 | var d1 = 1;
22 | if (info.elapsedDistance == null){
23 | d1 = 500;
24 | }
25 | else{
26 | d1 = info.elapsedDistance;
27 | }
28 | var d2 = d1 / 500;
29 | var d3 = d2 / 2.0;
30 |
31 | return d3;
32 | }
33 |
34 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | LeftHand Watchface
4 |
5 | Background
6 | Text Color
7 | Display Phone Connected when phone is connected?
8 | Use icons or text for battery and steps display?
9 | Black
10 | Dark Gray
11 | Light Gray
12 | White
13 | Blue
14 | Red
15 | Use Background Picture
16 | Display, with icon
17 | Display, with text
18 | Don't display
19 | Use Icons
20 | Use Text
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | LeftHand Watchface
4 |
5 | Background
6 | Text Color
7 | Display Phone Connected when phone is connected?
8 | Use icons or text for battery and steps display?
9 | Black
10 | Dark Gray
11 | Light Gray
12 | White
13 | Blue
14 | Red
15 | Use Background Picture
16 | Display, with icon
17 | Display, with text
18 | Don't display
19 | Use Icons
20 | Use Text
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | eng
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/gcommit.sh:
--------------------------------------------------------------------------------
1 | git add ./
2 | if ! git diff-index --quiet HEAD --; then
3 | printf "Please write the git commit message.\n"
4 | printf "Committing these files:\n"
5 | sleepingtime=2
6 | for i in $(git diff --name-only); do
7 | printf "#\t%s\n" $i
8 | ((sleepingtime++))
9 | done
10 | sleep $sleepingtime
11 | nano gitmsg
12 | git commit -F gitmsg
13 | git pull --no-commit
14 | git push
15 | rm gitmsg
16 | printf "Finished commiting and merging of repo.\n All done."
17 | sleeptime=10
18 |
19 | else
20 | printf "There's nothing to commit, so make some changes to commitable files or make sure they're not being ignored%s\n" "!"
21 | printf "." && sleep 1 && printf "." && sleep 1 && printf ".\n" && sleep 1
22 | printf "But, even if there's nothing to commit, we're going to still attempt a merge%s\n" "!"
23 | if git pull --quiet; then
24 | printf "Finished merging of repo or nothing to merge anyways.\n"
25 | else
26 | printf "Merge somehow errored.\n"
27 | fi
28 | fi
29 |
30 | sleeptime=10
31 | sleep $sleeptime
32 |
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | eng
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/strings/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | LeftHand Watchface
4 |
5 | Background
6 | Text Color
7 | Display Phone Connected when phone is connected?
8 | Use icons or text for battery and steps display?
9 | Black
10 | Dark Gray
11 | Light Gray
12 | White
13 | Blue
14 | Red
15 | Use Background Picture
16 | Display, with icon
17 | Display, with text
18 | Don't display
19 | Use Icons
20 | Use Text
21 | Display seconds when watch is raised. NOTE: May be buggy
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Data Fields/TurnAroundReminder/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | eng
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | eng
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/source/FlashlightWidgetView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.System as Sys;
3 |
4 | class FlashlightWidgetView extends Ui.View {
5 |
6 | function initialize() {
7 | View.initialize();
8 | }
9 |
10 | // Load your resources here
11 | function onLayout(dc) {
12 | setLayout(Rez.Layouts.MainLayout(dc));
13 | }
14 |
15 | // Called when this View is brought to the foreground. Restore
16 | // the state of this View and prepare it to be shown. This includes
17 | // loading resources into memory.
18 | function onShow() {
19 | var settime = Application.getApp().getProperty("time");
20 | if (settime == true){
21 | var clockTime = Sys.getClockTime();
22 | var timeString = Lang.format("$1$:$2$", [clockTime.hour, clockTime.min.format("%02d")]);
23 | var view = View.findDrawableById("TimeLabel");
24 | view.setText(timeString);
25 | }
26 | }
27 |
28 | // Update the view
29 | function onUpdate(dc) {
30 | // Call the parent onUpdate function to redraw the layout
31 | View.onUpdate(dc);
32 | }
33 |
34 | // Called when this View is removed from the screen. Save the
35 | // state of this View here. This includes freeing resources from
36 | // memory.
37 | function onHide() {
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/Applications/Flashlight/source/FlashlightView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.System as Sys;
3 |
4 | class FlashlightView extends Ui.View {
5 |
6 | function initialize() {
7 | View.initialize();
8 | }
9 |
10 | // Load your resources here
11 | function onLayout(dc) {
12 | setLayout(Rez.Layouts.MainLayout(dc));
13 | }
14 |
15 | // Called when this View is brought to the foreground. Restore
16 | // the state of this View and prepare it to be shown. This includes
17 | // loading resources into memory.
18 | function onShow() {
19 | }
20 |
21 |
22 |
23 | // Update the view
24 | function onUpdate(dc) {
25 | // Call the parent onUpdate function to redraw the layout
26 | var settime = Application.getApp().getProperty("time");
27 | if (settime == true){
28 | var clockTime = Sys.getClockTime();
29 | var timeString = Lang.format("$1$:$2$", [clockTime.hour, clockTime.min.format("%02d")]);
30 | var view = View.findDrawableById("TimeLabel");
31 | view.setText(timeString);
32 | }
33 | View.onUpdate(dc);
34 | }
35 |
36 | // Called when this View is removed from the screen. Save the
37 | // state of this View here. This includes freeing resources from
38 | // memory.
39 | function onHide() {
40 | }
41 |
42 | }
43 |
--------------------------------------------------------------------------------
/Applications/Flashlight/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | eng
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/resources/layouts/layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/source/AveVSCurHRView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 |
3 | class AveVSCurHRView extends Ui.SimpleDataField {
4 |
5 | // Set the label of the data field here.
6 | function initialize() {
7 | SimpleDataField.initialize();
8 | label = "Time (Hours.Minutes)";
9 | }
10 |
11 | // The given info object contains all the current workout
12 | // information. Calculate a value and return it in this method.
13 | function compute(info) {
14 | // See Activity.Info in the documentation for available information.
15 | var t1 = info.elapsedTime;
16 | var t2 = t1 / 900000;
17 | var t3 = t2 * 0.15;
18 | if (t3 == 0.60){
19 | t3 = 1.00;
20 | }
21 | if (t3 == 1.60){
22 | t3 = 2.00;
23 | }
24 | if (t3 == 2.60){
25 | t3 = 3.00;
26 | }
27 | if (t3 == 3.60){
28 | t3 = 4.00;
29 | }
30 | if (t3 == 4.60){
31 | t3 = 5.00;
32 | }
33 | if (t3 == 5.60){
34 | t3 = 6.00;
35 | }
36 | if (t3 == 6.60){
37 | t3 = 7.00;
38 | }
39 | if (t3 == 7.60){
40 | t3 = 8.00;
41 | }
42 | if (t3 == 8.60){
43 | t3 = 9.00;
44 | }
45 | if (t3 == 9.60){
46 | t3 = 10.00;
47 | }
48 | if (t3 == 10.60){
49 | t3 = 11.00;
50 | }
51 | if (t3 == 11.60){
52 | t3 = 12.00;
53 | }
54 | if (t3 >= 12.00){
55 | t3 = "Wow! Long workout!!!";
56 | }
57 |
58 | return t3;
59 | }
60 |
61 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/layouts/layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/layouts/layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/layouts/layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/resources/settings/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | @Strings.ColorBlack
6 | @Strings.ColorDarkGray
7 | @Strings.ColorLightGray
8 | @Strings.ColorWhite
9 | @Strings.ColorBlue
10 | @Strings.ColorRed
11 | @Strings.UsePic
12 |
13 |
14 |
15 |
16 |
17 | @Strings.ColorBlack
18 | @Strings.ColorDarkGray
19 | @Strings.ColorLightGray
20 | @Strings.ColorBlue
21 | @Strings.ColorRed
22 | @Strings.ColorWhite
23 |
24 |
25 |
26 |
27 |
28 | @Strings.Icon
29 | @Strings.Text
30 | @Strings.None
31 |
32 |
33 |
34 |
35 |
36 | @Strings.Icon2
37 | @Strings.Text2
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/resources/settings/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | @Strings.ColorBlack
6 | @Strings.ColorDarkGray
7 | @Strings.ColorLightGray
8 | @Strings.ColorWhite
9 | @Strings.ColorBlue
10 | @Strings.ColorRed
11 | @Strings.UsePic
12 |
13 |
14 |
15 |
16 |
17 | @Strings.ColorBlack
18 | @Strings.ColorDarkGray
19 | @Strings.ColorLightGray
20 | @Strings.ColorBlue
21 | @Strings.ColorRed
22 | @Strings.ColorWhite
23 |
24 |
25 |
26 |
27 |
28 | @Strings.Icon
29 | @Strings.Text
30 | @Strings.None
31 |
32 |
33 |
34 |
35 |
36 | @Strings.Icon2
37 | @Strings.Text2
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/source/DayShiftBackground.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.Application as App;
3 | using Toybox.Graphics as Gfx;
4 | using Toybox.System as Sys;
5 |
6 | class Background extends Ui.Drawable {
7 |
8 | function initialize() {
9 | var dictionary = {
10 | :identifier => "Background"
11 | };
12 |
13 | Drawable.initialize(dictionary);
14 | }
15 |
16 | function draw(dc) {
17 | // Set the background color then call to clear the screen
18 | var clockTime = Sys.getClockTime();
19 | var hours = clockTime.hour;
20 | if (hours <= 3){
21 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0x000000);
22 | }
23 | if (hours >= 4){
24 | if (hours << 6){
25 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0x555555);
26 | }
27 | }
28 | if (hours >= 6){
29 | if (hours << 8){
30 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0x38761D);
31 | }
32 | }
33 | if (hours >= 8){
34 | if (hours << 10){
35 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0x0000CC);
36 | }
37 | }
38 | if (hours >= 10){
39 | if (hours << 12){
40 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0x93C47D);
41 | }
42 | }
43 | if (hours >= 12){
44 | if (hours << 14){
45 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0xEFBA2D);
46 | }
47 | }
48 | if (hours >= 14){
49 | if (hours << 16){
50 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0xBF9524);
51 | }
52 | }
53 | if (hours >= 16){
54 | if (hours << 18){
55 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0x0000FF);
56 | }
57 | }
58 | if (hours >= 18){
59 | if (hours << 20){
60 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0xAAAAAA);
61 | }
62 | }
63 | if (hours >= 20){
64 | if (hours << 22){
65 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0x555555);
66 | }
67 | }
68 | if (hours >= 22){
69 | dc.setColor(Gfx.COLOR_TRANSPARENT, 0x000000);
70 | }
71 | dc.clear();
72 | }
73 |
74 | }
75 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/source/MinTimeDFView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 |
3 | class MinTimeDFView extends Ui.SimpleDataField {
4 |
5 | // Set the label of the data field here.
6 | function initialize() {
7 | SimpleDataField.initialize();
8 | var settitle = Application.getApp().getProperty("settitle");
9 | if (settitle == true){
10 | label = "Time (Hours.Minutes)";
11 | }
12 | else{
13 | label = "Time";
14 | }
15 | }
16 |
17 | // The given info object contains all the current workout
18 | // information. Calculate a value and return it in this method.
19 | function compute(info) {
20 | // See Activity.Info in the documentation for available information.
21 | var t1 = info.elapsedTime;
22 | var t2 = t1 / 900000;
23 | var t3 = t2 * 0.15;
24 | if (t3 == 0.60){
25 | t3 = 1.00;
26 | }
27 | if (t3 == 0.75){
28 | t3 = 1.15;
29 | }
30 | if (t3 == 0.90){
31 | t3 = 1.30;
32 | }
33 | if (t3 == 1.05){
34 | t3 = 1.45;
35 | }
36 | if (t3 == 1.20){
37 | t3 = 2.00;
38 | }
39 | if (t3 == 1.35){
40 | t3 = 2.15;
41 | }
42 | if (t3 == 1.50){
43 | t3 = 2.30;
44 | }
45 | if (t3 == 1.65){
46 | t3 = 2.45;
47 | }
48 | if (t3 == 1.80){
49 | t3 = 3.00;
50 | var done = true;
51 | }
52 | if (t3 == 1.95){
53 | t3 = 3.15;
54 | }
55 | if (t3 == 2.10){
56 | t3 = 3.30;
57 | }
58 | if (t3 == 2.25){
59 | t3 = 3.45;
60 | }
61 | if (t3 == 2.40){
62 | t3 = 4.00;
63 | }
64 | if (t3 == 2.55){
65 | t3 = 4.15;
66 | }
67 | if (t3 == 2.70){
68 | t3 = 4.30;
69 | }
70 | if (t3 == 2.85){
71 | t3 = 4.45;
72 | }
73 | if (t3 == 3.00){
74 | if (done == true){
75 | t3 = 5.00;
76 | }
77 | }
78 | if (t3 >= 12.00){
79 | t3 = "Wow! Long workout!!!";
80 | }
81 |
82 | return t3;
83 | }
84 |
85 | }
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/bin/LeftHand Watchface - Round-settings.json:
--------------------------------------------------------------------------------
1 | {"settings":[{"key":"BackgroundColor","valueType":"number","defaultValue":1,"configTitle":"BackgroundColorTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"ColorBlack","value":0},{"display":"ColorDarkGray","value":5592405},{"display":"ColorLightGray","value":11184810},{"display":"ColorWhite","value":16777215},{"display":"ColorBlue","value":255},{"display":"ColorRed","value":16711680},{"display":"UsePic","value":1}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"ForegroundColor","valueType":"number","defaultValue":16777215,"configTitle":"ForegroundColorTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"ColorBlack","value":0},{"display":"ColorDarkGray","value":5592405},{"display":"ColorLightGray","value":11184810},{"display":"ColorBlue","value":255},{"display":"ColorRed","value":16711680},{"display":"ColorWhite","value":16777215}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"phone","valueType":"number","defaultValue":1,"configTitle":"PhoneTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"Icon","value":1},{"display":"Text","value":2},{"display":"None","value":0}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"icons","valueType":"number","defaultValue":1,"configTitle":"IconTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"Icon2","value":1},{"display":"Text2","value":2}],"configMin":null,"configMax":null,"configMaxLength":null}],"languages":{"valyrian":{"ColorLightGray":"Light Gray","ColorBlue":"Blue","BackgroundColorTitle":"Background","ColorDarkGray":"Dark Gray","ColorBlack":"Black","Text":"Display, with text","Icon2":"Use Icons","Text2":"Use Text","UsePic":"Use Background Picture","IconTitle":"Use icons or text for battery and steps display?","AppName":"LeftHand Watchface","PhoneTitle":"Display Phone Connected when phone is connected?","ColorRed":"Red","ForegroundColorTitle":"Text Color","Icon":"Display, with icon","ColorWhite":"White","None":"Don\u0027t display"}}}
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/bin/LeftHand Watchface - Forerunner-settings.json:
--------------------------------------------------------------------------------
1 | {"settings":[{"key":"BackgroundColor","valueType":"number","defaultValue":1,"configTitle":"BackgroundColorTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"ColorBlack","value":0},{"display":"ColorDarkGray","value":5592405},{"display":"ColorLightGray","value":11184810},{"display":"ColorWhite","value":16777215},{"display":"ColorBlue","value":255},{"display":"ColorRed","value":16711680},{"display":"UsePic","value":1}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"ForegroundColor","valueType":"number","defaultValue":16777215,"configTitle":"ForegroundColorTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"ColorBlack","value":0},{"display":"ColorDarkGray","value":5592405},{"display":"ColorLightGray","value":11184810},{"display":"ColorBlue","value":255},{"display":"ColorRed","value":16711680},{"display":"ColorWhite","value":16777215}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"phone","valueType":"number","defaultValue":1,"configTitle":"PhoneTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"Icon","value":1},{"display":"Text","value":2},{"display":"None","value":0}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"icons","valueType":"number","defaultValue":1,"configTitle":"IconTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"Icon2","value":1},{"display":"Text2","value":2}],"configMin":null,"configMax":null,"configMaxLength":null}],"languages":{"valyrian":{"ColorLightGray":"Light Gray","ColorBlue":"Blue","BackgroundColorTitle":"Background","ColorDarkGray":"Dark Gray","ColorBlack":"Black","Text":"Display, with text","Icon2":"Use Icons","Text2":"Use Text","UsePic":"Use Background Picture","IconTitle":"Use icons or text for battery and steps display?","AppName":"LeftHand Watchface","PhoneTitle":"Display Phone Connected when phone is connected?","ColorRed":"Red","ForegroundColorTitle":"Text Color","Icon":"Display, with icon","ColorWhite":"White","None":"Don\u0027t display"}}}
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/resources/settings/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | @Strings.ColorBlack
6 | @Strings.ColorDarkGray
7 | @Strings.ColorLightGray
8 | @Strings.ColorWhite
9 | @Strings.ColorBlue
10 | @Strings.ColorRed
11 | @Strings.UsePic
12 |
13 |
14 |
15 |
16 |
17 | @Strings.ColorBlack
18 | @Strings.ColorDarkGray
19 | @Strings.ColorLightGray
20 | @Strings.ColorBlue
21 | @Strings.ColorRed
22 | @Strings.ColorWhite
23 |
24 |
25 |
26 |
27 |
28 | @Strings.Icon
29 | @Strings.Text
30 | @Strings.None
31 |
32 |
33 |
34 |
35 |
36 | @Strings.Icon2
37 | @Strings.Text2
38 |
39 |
40 |
41 |
42 |
43 | @Strings.Icon2
44 | @Strings.Text2
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/bin/LeftHand Watchface-settings.json:
--------------------------------------------------------------------------------
1 | {"settings":[{"key":"BackgroundColor","valueType":"number","defaultValue":1,"configTitle":"BackgroundColorTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"ColorBlack","value":0},{"display":"ColorDarkGray","value":5592405},{"display":"ColorLightGray","value":11184810},{"display":"ColorWhite","value":16777215},{"display":"ColorBlue","value":255},{"display":"ColorRed","value":16711680},{"display":"UsePic","value":1}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"ForegroundColor","valueType":"number","defaultValue":16777215,"configTitle":"ForegroundColorTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"ColorBlack","value":0},{"display":"ColorDarkGray","value":5592405},{"display":"ColorLightGray","value":11184810},{"display":"ColorBlue","value":255},{"display":"ColorRed","value":16711680},{"display":"ColorWhite","value":16777215}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"phone","valueType":"number","defaultValue":1,"configTitle":"PhoneTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"Icon","value":1},{"display":"Text","value":2},{"display":"None","value":0}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"icons","valueType":"number","defaultValue":1,"configTitle":"IconTitle","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"list","configReadonly":false,"configRequired":false,"configOptions":[{"display":"Icon2","value":1},{"display":"Text2","value":2}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"Secs","valueType":"boolean","defaultValue":false,"configTitle":"UseSecs","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"boolean","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null}],"languages":{"valyrian":{"ColorLightGray":"Light Gray","ColorBlue":"Blue","BackgroundColorTitle":"Background","ColorDarkGray":"Dark Gray","ColorBlack":"Black","Text":"Display, with text","Icon2":"Use Icons","Text2":"Use Text","UsePic":"Use Background Picture","UseSecs":"Display seconds when watch is raised. NOTE: May be buggy","IconTitle":"Use icons or text for battery and steps display?","AppName":"LeftHand Watchface","PhoneTitle":"Display Phone Connected when phone is connected?","ColorRed":"Red","ForegroundColorTitle":"Text Color","Icon":"Display, with icon","ColorWhite":"White","None":"Don\u0027t display"}}}
--------------------------------------------------------------------------------
/Data Fields/TurnAroundReminder/bin/TurnAroundReminder.prg.debug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # connectiq-watchapps
2 |
3 | My Things For Garmin Connect IQ
4 |
5 | All Software is open source (duh!) so, feel free to do whatever with the code!
6 |
7 | Me On ConnectIQ : https://apps.garmin.com/en-CA/developer/ca083619-4f7a-497f-9ccc-456c53f9f9de/apps
8 |
9 |
10 |
11 | Note: Thanks to jensws80 for some of his code on the watchfaces!
12 |
13 | # DayShift
14 |
15 | DayShift is a new kind of watchface that changes based on the time of day, for example black at night, and yellow at noon!
16 |
17 | ConnectIQ : https://apps.garmin.com/en-US/apps/34971426-f5ee-4e06-acf1-2ad6396f4f17
18 |
19 |
20 | Promtion Video : https://www.youtube.com/watch?v=5K7qxEQk4_0
21 |
22 |
23 | # Flashlight App
24 |
25 |
26 | A simple application that makes your screen display fully white, which makes it very bright. If you need a light in the dark, this is the application to use! If you want the time, too, there is a setting for that.
27 |
28 | ConnectIQ : https://apps.garmin.com/en-CA/apps/c59ee928-c7a9-44ab-aa91-c888e85dd2a6;jsessionid=7AA5B485D7C52B657BE069D2F47B44A7
29 |
30 | # Flashlight Widget
31 |
32 | A port of my flashlight app : A simple application that makes your screen display fully white, which makes it very bright. If you need a light in the dark, this is the application to use! If you want the time, too, there is a setting for that.
33 |
34 |
35 | ConnectIQ : https://apps.garmin.com/en-CA/apps/02bbd511-7c5d-4b94-a900-99dc614ab3c5;jsessionid=0B036679FB1C6F312D079C42D9AAC014
36 |
37 | # LeftHand Watchface
38 |
39 | A watchface designed for people wearing their watch on their left wrist.
40 |
41 |
42 | ConnectIQ : https://apps.garmin.com/en-US/apps/970d62db-c09c-442d-b23d-8a7208a4a2b9
43 |
44 | Fenix Version ConnectIQ : https://apps.garmin.com/en-US/apps/746ce6b1-5e0d-4e3f-b748-9609f6ac10f1
45 |
46 | # Turn Around Reminder
47 |
48 |
49 | A simple data field that lets you pick a point where you want to turn around, and then the data field will count down to that point. Enter that point in the data field settings, and then the data field will work. If you haven't reached the point yet, it will say "x km to turn" and if you had, it will say "x km to finish".
50 |
51 |
52 | ConnectIQ : https://apps.garmin.com/en-CA/apps/0c5775a6-411a-435c-849d-1ea0c4aa173f;jsessionid=7AA5B485D7C52B657BE069D2F47B44A7#0
53 |
54 |
55 | # View Time In 15 Minute Segments
56 |
57 | Sometimes, when you are doing a workout with a club, or team, you don't want to be looking at your watch every 30 seconds. This data field is designed to discourage looking at your watch too much, by providing enough info that you need to be informed, but not get too specific.
58 |
59 | It shows the elapsed time of the workout, but it always rounds down to the nearest 15 minutes. This encourages you to check the time way less often, as it will likely have not changed. I use this technique all of the time, as it allows you to focus on your training.
60 |
61 | Also, see it on ConnectIQ : https://apps.garmin.com/en-CA/apps/6d788ba9-dca9-4e71-8fa9-621cc53631a5
62 |
63 | # View Distance In 500 Metre Segments
64 |
65 |
66 | Sometimes, when you are doing a workout with a club, or team, you don't want to be looking at your watch every 30 seconds. This data field is designed to discourage looking at your watch too much, by providing enough info that you need to be informed, but not get too specific.
67 |
68 | It shows the elapsed time of the workout, but it always rounds down to the nearest 500 Metres. This encourages you to check the distance way less often, as it will likely have not changed. I use this technique all of the time, as it allows you to focus on your training.
69 |
70 | ConnectIQ : https://apps.garmin.com/en-CA/apps/c68ced04-bca9-4b48-a53b-8adb1e64220c;jsessionid=7AA5B485D7C52B657BE069D2F47B44A7
71 |
--------------------------------------------------------------------------------
/Data Fields/HalfKMDistDF/bin/HalfKMDist.prg.debug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/source/LeftHandWatchfaceView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.Graphics as Gfx;
3 | using Toybox.System as Sys;
4 | using Toybox.Lang as Lang;
5 | using Toybox.Application as App;
6 | using Toybox.Time.Gregorian as Calendar;
7 | using Toybox.ActivityMonitor as Act;
8 |
9 | class LeftHandWatchfaceView extends Ui.WatchFace {
10 |
11 | function initialize() {
12 | WatchFace.initialize();
13 | }
14 |
15 | // Load your resources here
16 | function onLayout(dc) {
17 | var back = App.getApp().getProperty("BackgroundColor");
18 | setLayout(Rez.Layouts.WatchFace(dc));
19 | }
20 |
21 | // Called when this View is brought to the foreground. Restore
22 | // the state of this View and prepare it to be shown. This includes
23 | // loading resources into memory.
24 | function onShow() {
25 | }
26 |
27 | // Update the view
28 | function onUpdate(dc) {
29 | // Get the current time and format it correctly
30 | // Varibles, and other stuff
31 | var back = App.getApp().getProperty("BackgroundColor");
32 | var icons = App.getApp().getProperty("icons");
33 | var act = Act.getInfo();
34 | var dateInfo = Calendar.info(Time.now(), Time.FORMAT_MEDIUM);
35 | var batteryinfo = Lang.format("$1$%", [Sys.getSystemStats().battery.format("%02d")]);
36 | var clockTime = Sys.getClockTime();
37 | var minString = Lang.format("$1$", [clockTime.min.format("%02d")]);
38 | var stepinfo = Lang.format("$1$", [act.steps]);
39 | var timeFormat = "$1$:$2$";
40 | var hours = clockTime.hour;
41 | var dateString = Lang.format("$1$ $2$", [dateInfo.day_of_week, dateInfo.day]);
42 | var monthString = Lang.format("$1$ $2$", [dateInfo.month, dateInfo.year]);
43 | var isConnected = Sys.getDeviceSettings().phoneConnected;
44 | var phone = "";
45 | var phone2 = "";
46 | var ampm = "";
47 | var view = View.findDrawableById("TimeLabel");
48 | if (isConnected == true){
49 | phone2 = "Phone";
50 | phone = "Connected";
51 | }
52 | else {
53 | phone2 = "";
54 | phone = "";
55 | }
56 | if (!Sys.getDeviceSettings().is24Hour) {
57 | if (hours > 12) {
58 | hours = hours - 12;
59 | ampm = "P";
60 | view = View.findDrawableById("ampm");
61 | view.setColor(App.getApp().getProperty("ForegroundColor"));
62 | view.setText(ampm);
63 | }
64 | if (hours <= 12) {
65 | ampm = "A";
66 | view = View.findDrawableById("ampm");
67 | view.setColor(App.getApp().getProperty("ForegroundColor"));
68 | view.setText(ampm);
69 | }
70 | } else {
71 | }
72 | var hourString = Lang.format("$1$", [hours]);
73 | var timeString = Lang.format(timeFormat, [hours, clockTime.min.format("%02d")]);
74 |
75 | // Update the view
76 | // Text, and icons!
77 | view = View.findDrawableById("TimeLabel");
78 | view.setColor(App.getApp().getProperty("ForegroundColor"));
79 | view.setText(hourString);
80 | view = View.findDrawableById("TimeLabel2");
81 | view.setColor(App.getApp().getProperty("ForegroundColor"));
82 | view.setText(minString);
83 | if (icons == 2){
84 | view = View.findDrawableById("stepinfo");
85 | view.setColor(App.getApp().getProperty("ForegroundColor"));
86 | view.setText("Steps: " + stepinfo);
87 | view = View.findDrawableById("batt");
88 | view.setColor(App.getApp().getProperty("ForegroundColor"));
89 | view.setText("Battery: " + batteryinfo);
90 | }
91 | if (icons == 1){
92 | view = View.findDrawableById("stepinfoicon");
93 | view.setColor(App.getApp().getProperty("ForegroundColor"));
94 | view.setText(stepinfo);
95 | view = View.findDrawableById("batticont");
96 | view.setColor(App.getApp().getProperty("ForegroundColor"));
97 | view.setText(batteryinfo);
98 | view = View.findDrawableById("footicon");
99 | view.setLocation(68, 0);
100 | view = View.findDrawableById("batticon");
101 | view.setLocation(85, 23);
102 | }
103 | view = View.findDrawableById("date");
104 | view.setColor(App.getApp().getProperty("ForegroundColor"));
105 | view.setText(monthString);
106 | view = View.findDrawableById("mon");
107 | view.setColor(App.getApp().getProperty("ForegroundColor"));
108 | view.setText(dateString);
109 | var phonet = App.getApp().getProperty("phone");
110 | if (phonet == 2){
111 | view = View.findDrawableById("phone");
112 | view.setColor(App.getApp().getProperty("ForegroundColor"));
113 | view.setText(phone);
114 | view = View.findDrawableById("phone2");
115 | view.setColor(App.getApp().getProperty("ForegroundColor"));
116 | view.setText(phone2);
117 | }
118 | if (phonet == 1){
119 | if (isConnected == true){
120 | view = View.findDrawableById("phoneicon");
121 | view.setLocation(20, 150);
122 | }
123 | }
124 | if (back != 1){
125 | var view2 = View.findDrawableById("id_monkey");
126 | view2.setLocation(300, 300);
127 | }
128 | if (back == 1){
129 | var view2 = View.findDrawableById("id_monkey");
130 | view2.setLocation(0, 0);
131 | }
132 |
133 |
134 |
135 | // Call the parent onUpdate function to redraw the layout
136 | View.onUpdate(dc);
137 | }
138 |
139 | // Called when this View is removed from the screen. Save the
140 | // state of this View here. This includes freeing resources from
141 | // memory.
142 | function onHide() {
143 | }
144 |
145 | // The user has just looked at their watch. Timers and animations may be started here.
146 | function onExitSleep() {
147 | }
148 |
149 | // Terminate any active timers and prepare for slow updates.
150 | function onEnterSleep() {
151 | }
152 |
153 | }
154 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Forerunner/source/LeftHandWatchfaceView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.Graphics as Gfx;
3 | using Toybox.System as Sys;
4 | using Toybox.Lang as Lang;
5 | using Toybox.Application as App;
6 | using Toybox.Time.Gregorian as Calendar;
7 | using Toybox.ActivityMonitor as Act;
8 |
9 | class LeftHandWatchfaceView extends Ui.WatchFace {
10 |
11 | function initialize() {
12 | WatchFace.initialize();
13 | }
14 |
15 | // Load your resources here
16 | function onLayout(dc) {
17 | var back = App.getApp().getProperty("BackgroundColor");
18 | setLayout(Rez.Layouts.WatchFace(dc));
19 | }
20 |
21 | // Called when this View is brought to the foreground. Restore
22 | // the state of this View and prepare it to be shown. This includes
23 | // loading resources into memory.
24 | function onShow() {
25 | }
26 |
27 | // Update the view
28 | function onUpdate(dc) {
29 | // Get the current time and format it correctly
30 | // Varibles, and other stuff
31 | var back = App.getApp().getProperty("BackgroundColor");
32 | var icons = App.getApp().getProperty("icons");
33 | var act = Act.getInfo();
34 | var dateInfo = Calendar.info(Time.now(), Time.FORMAT_MEDIUM);
35 | var batteryinfo = Lang.format("$1$%", [Sys.getSystemStats().battery.format("%02d")]);
36 | var clockTime = Sys.getClockTime();
37 | var minString = Lang.format("$1$", [clockTime.min.format("%02d")]);
38 | var stepinfo = Lang.format("$1$", [act.steps]);
39 | var timeFormat = "$1$:$2$";
40 | var hours = clockTime.hour;
41 | var dateString = Lang.format("$1$ $2$", [dateInfo.day_of_week, dateInfo.day]);
42 | var monthString = Lang.format("$1$ $2$", [dateInfo.month, dateInfo.year]);
43 | var isConnected = Sys.getDeviceSettings().phoneConnected;
44 | var phone = "";
45 | var phone2 = "";
46 | var ampm = "";
47 | var view = View.findDrawableById("TimeLabel");
48 | if (isConnected == true){
49 | phone2 = "Phone";
50 | phone = "Connected";
51 | }
52 | else {
53 | phone2 = "";
54 | phone = "";
55 | }
56 | if (!Sys.getDeviceSettings().is24Hour) {
57 | if (hours <= 12) {
58 | ampm = "A";
59 | view = View.findDrawableById("ampm");
60 | view.setColor(App.getApp().getProperty("ForegroundColor"));
61 | view.setText(ampm);
62 | }
63 | if (hours > 12) {
64 | hours = hours - 12;
65 | ampm = "P";
66 | view = View.findDrawableById("ampm");
67 | view.setColor(App.getApp().getProperty("ForegroundColor"));
68 | view.setText(ampm);
69 | }
70 |
71 | } else {
72 | }
73 | var hourString = Lang.format("$1$", [hours]);
74 | var timeString = Lang.format(timeFormat, [hours, clockTime.min.format("%02d")]);
75 |
76 | // Update the view
77 | // Text, and icons!
78 | view = View.findDrawableById("TimeLabel");
79 | view.setColor(App.getApp().getProperty("ForegroundColor"));
80 | view.setText(hourString);
81 | view = View.findDrawableById("TimeLabel2");
82 | view.setColor(App.getApp().getProperty("ForegroundColor"));
83 | view.setText(minString);
84 | if (icons == 2){
85 | view = View.findDrawableById("stepinfo");
86 | view.setColor(App.getApp().getProperty("ForegroundColor"));
87 | view.setText("Steps: " + stepinfo);
88 | view = View.findDrawableById("batt");
89 | view.setColor(App.getApp().getProperty("ForegroundColor"));
90 | view.setText("Battery: " + batteryinfo);
91 | }
92 | if (icons == 1){
93 | view = View.findDrawableById("stepinfoicon");
94 | view.setColor(App.getApp().getProperty("ForegroundColor"));
95 | view.setText(stepinfo);
96 | view = View.findDrawableById("batticont");
97 | view.setColor(App.getApp().getProperty("ForegroundColor"));
98 | view.setText(batteryinfo);
99 | view = View.findDrawableById("footicon");
100 | view.setLocation(68, 0);
101 | view = View.findDrawableById("batticon");
102 | view.setLocation(78, 23);
103 | }
104 | view = View.findDrawableById("date");
105 | view.setColor(App.getApp().getProperty("ForegroundColor"));
106 | view.setText(monthString);
107 | view = View.findDrawableById("mon");
108 | view.setColor(App.getApp().getProperty("ForegroundColor"));
109 | view.setText(dateString);
110 | var phonet = App.getApp().getProperty("phone");
111 | if (phonet == 2){
112 | view = View.findDrawableById("phone");
113 | view.setColor(App.getApp().getProperty("ForegroundColor"));
114 | view.setText(phone);
115 | view = View.findDrawableById("phone2");
116 | view.setColor(App.getApp().getProperty("ForegroundColor"));
117 | view.setText(phone2);
118 | }
119 | if (phonet == 1){
120 | if (isConnected == true){
121 | view = View.findDrawableById("phoneicon");
122 | view.setLocation(40, 150);
123 | }
124 | }
125 | if (back != 1){
126 | var view2 = View.findDrawableById("id_monkey");
127 | view2.setLocation(300, 300);
128 | }
129 | if (back == 1){
130 | var view2 = View.findDrawableById("id_monkey");
131 | view2.setLocation(0, 0);
132 | }
133 |
134 |
135 |
136 | // Call the parent onUpdate function to redraw the layout
137 | View.onUpdate(dc);
138 | }
139 |
140 | // Called when this View is removed from the screen. Save the
141 | // state of this View here. This includes freeing resources from
142 | // memory.
143 | function onHide() {
144 | }
145 |
146 | // The user has just looked at their watch. Timers and animations may be started here.
147 | function onExitSleep() {
148 | }
149 |
150 | // Terminate any active timers and prepare for slow updates.
151 | function onEnterSleep() {
152 | }
153 |
154 | }
155 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface/source/LeftHandWatchfaceView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.Graphics as Gfx;
3 | using Toybox.System as Sys;
4 | using Toybox.Lang as Lang;
5 | using Toybox.Application as App;
6 | using Toybox.Time.Gregorian as Calendar;
7 | using Toybox.ActivityMonitor as Act;
8 | var sleeping = true;
9 | var sleepcount = 0;
10 | var newsleep = false;
11 | class LeftHandWatchfaceView extends Ui.WatchFace {
12 |
13 | function initialize() {
14 | WatchFace.initialize();
15 | }
16 |
17 | // Load your resources here
18 | function onLayout(dc) {
19 | var back = App.getApp().getProperty("BackgroundColor");
20 | setLayout(Rez.Layouts.WatchFace(dc));
21 | }
22 |
23 | // Called when this View is brought to the foreground. Restore
24 | // the state of this View and prepare it to be shown. This includes
25 | // loading resources into memory.
26 | function onShow() {
27 | }
28 |
29 | // Update the view
30 | function onUpdate(dc) {
31 | // Get the current time and format it correctly
32 | // Varibles, and other stuff
33 | var back = App.getApp().getProperty("BackgroundColor");
34 | var icons = App.getApp().getProperty("icons");
35 | var usesecs = App.getApp().getProperty("Secs");
36 | var act = Act.getInfo();
37 | var dateInfo = Calendar.info(Time.now(), Time.FORMAT_MEDIUM);
38 | var batteryinfo = Lang.format("$1$%", [Sys.getSystemStats().battery.format("%02d")]);
39 | var clockTime = Sys.getClockTime();
40 | var minString = Lang.format("$1$", [clockTime.min.format("%02d")]);
41 | var stepinfo = Lang.format("$1$", [act.steps]);
42 | var timeFormat = "$1$:$2$";
43 | var hours = clockTime.hour;
44 | var se = clockTime.sec;
45 | var dateString = Lang.format("$1$ $2$", [dateInfo.day_of_week, dateInfo.day]);
46 | var monthString = Lang.format("$1$ $2$", [dateInfo.month, dateInfo.year]);
47 | var isConnected = Sys.getDeviceSettings().phoneConnected;
48 | var secString = Lang.format("$1$", [se]);
49 | var phone = "";
50 | var phone2 = "";
51 | var ampm = "";
52 | var view = View.findDrawableById("TimeLabel");
53 | if (isConnected == true){
54 | phone2 = "Phone";
55 | phone = "Connected";
56 | }
57 | else {
58 | phone2 = "";
59 | phone = "";
60 | }
61 | if (!Sys.getDeviceSettings().is24Hour) {
62 | if (hours <= 12) {
63 | ampm = "A";
64 | view = View.findDrawableById("ampm");
65 | view.setColor(App.getApp().getProperty("ForegroundColor"));
66 | view.setText(ampm);
67 | }
68 | if (hours > 12) {
69 | hours = hours - 12;
70 | ampm = "P";
71 | view = View.findDrawableById("ampm");
72 | view.setColor(App.getApp().getProperty("ForegroundColor"));
73 | view.setText(ampm);
74 | }
75 | } else {
76 | }
77 | var hourString = Lang.format("$1$", [hours]);
78 | var timeString = Lang.format(timeFormat, [hours, clockTime.min.format("%02d")]);
79 |
80 | // Update the view
81 | // Text, and icons!
82 | view = View.findDrawableById("TimeLabel");
83 | view.setColor(App.getApp().getProperty("ForegroundColor"));
84 | view.setText(hourString);
85 | view = View.findDrawableById("TimeLabel2");
86 | view.setColor(App.getApp().getProperty("ForegroundColor"));
87 | view.setText(minString);
88 | if (icons == 2){
89 | view = View.findDrawableById("stepinfo");
90 | view.setColor(App.getApp().getProperty("ForegroundColor"));
91 | view.setText("Steps: " + stepinfo);
92 | view = View.findDrawableById("batt");
93 | view.setColor(App.getApp().getProperty("ForegroundColor"));
94 | view.setText("Battery: " + batteryinfo);
95 | }
96 | if (icons == 1){
97 | view = View.findDrawableById("stepinfoicon");
98 | view.setColor(App.getApp().getProperty("ForegroundColor"));
99 | view.setText(stepinfo);
100 | view = View.findDrawableById("batticont");
101 | view.setColor(App.getApp().getProperty("ForegroundColor"));
102 | view.setText(batteryinfo);
103 | view = View.findDrawableById("footicon");
104 | view.setLocation(48, 0);
105 | view = View.findDrawableById("batticon");
106 | view.setLocation(67, 23);
107 | }
108 | view = View.findDrawableById("date");
109 | view.setColor(App.getApp().getProperty("ForegroundColor"));
110 | view.setText(monthString);
111 | view = View.findDrawableById("mon");
112 | view.setColor(App.getApp().getProperty("ForegroundColor"));
113 | view.setText(dateString);
114 | var phonet = App.getApp().getProperty("phone");
115 | if (phonet == 2){
116 | view = View.findDrawableById("phone");
117 | view.setColor(App.getApp().getProperty("ForegroundColor"));
118 | view.setText(phone);
119 | view = View.findDrawableById("phone2");
120 | view.setColor(App.getApp().getProperty("ForegroundColor"));
121 | view.setText(phone2);
122 |
123 | }
124 | if (phonet == 1){
125 | if (isConnected == true){
126 | view = View.findDrawableById("phoneicon");
127 | view.setLocation(3, 175);
128 | }
129 | }
130 | if (back != 1){
131 | var view2 = View.findDrawableById("id_monkey");
132 | view2.setLocation(300, 300);
133 | }
134 | if (back == 1){
135 | var view2 = View.findDrawableById("id_monkey");
136 | view2.setLocation(0, 0);
137 | }
138 | if (usesecs == true){
139 | if (sleeping == false){
140 | view = View.findDrawableById("seconds");
141 | view.setColor(App.getApp().getProperty("ForegroundColor"));
142 | view.setText(secString);
143 | sleepcount = sleepcount + 1;
144 | if (newsleep == true){
145 | sleepcount = 0;
146 | }
147 | if (sleepcount == 9){
148 | sleeping = true;
149 | sleepcount = 0;
150 | }
151 | }
152 | else{
153 | view = View.findDrawableById("seconds");
154 | view.setColor(App.getApp().getProperty("ForegroundColor"));
155 | view.setText("--");
156 | }
157 | }
158 | else {
159 | view = View.findDrawableById("seconds");
160 | view.setColor(App.getApp().getProperty("ForegroundColor"));
161 | view.setText("");
162 | }
163 |
164 | // Call the parent onUpdate function to redraw the layout
165 | View.onUpdate(dc);
166 | }
167 |
168 | // Called when this View is removed from the screen. Save the
169 | // state of this View here. This includes freeing resources from
170 | // memory.
171 | function onHide() {
172 | }
173 |
174 | // The user has just looked at their watch. Timers and animations may be started here.
175 | function onExitSleep() {
176 | sleeping = false;
177 | newsleep = true;
178 |
179 |
180 | }
181 |
182 | // Terminate any active timers and prepare for slow updates.
183 | function onEnterSleep() {
184 | sleeping = true;
185 | }
186 |
187 | }
188 |
--------------------------------------------------------------------------------
/Widgets/Flashlight Widget/bin/Flashlight Widget.prg.debug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 | Draw the layout
param The context
]]>
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/15 Minute View Data Field.OLD/bin/AveVSCurHR.prg.debug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/Applications/Flashlight/bin/Flashlight.prg.debug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 | Draw the layout
param The context
]]>
146 |
147 |
148 |
149 |
--------------------------------------------------------------------------------
/Data Fields/15MinTimeDF/bin/15MinTimeDF.prg.debug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
--------------------------------------------------------------------------------
/Watchfaces/DayShift/source/DayShiftView.mc:
--------------------------------------------------------------------------------
1 | using Toybox.WatchUi as Ui;
2 | using Toybox.Graphics as Gfx;
3 | using Toybox.System as Sys;
4 | using Toybox.Lang as Lang;
5 | using Toybox.Application as App;
6 | using Toybox.Time.Gregorian as Calendar;
7 | using Toybox.ActivityMonitor as Act;
8 |
9 | var sleeping = true;
10 | var sleepcount = 0;
11 | var newsleep = false;
12 |
13 | class DayShiftView extends Ui.WatchFace {
14 |
15 | function initialize() {
16 | WatchFace.initialize();
17 | }
18 |
19 | // Load your resources here
20 | function onLayout(dc) {
21 | setLayout(Rez.Layouts.WatchFace(dc));
22 | }
23 |
24 | // Called when this View is brought to the foreground. Restore
25 | // the state of this View and prepare it to be shown. This includes
26 | // loading resources into memory.
27 | function onShow() {
28 | }
29 |
30 | // Update the view
31 | function onUpdate(dc) {
32 | // Get the current time and format it correctly
33 | var timeFormat = "$1$:$2$";
34 | var act = Act.getInfo();
35 | var DevSys = Sys.getDeviceSettings();
36 | var dateInfo = Calendar.info(Time.now(), Time.FORMAT_MEDIUM);
37 | var clockTime = Sys.getClockTime();
38 | var hours = clockTime.hour;
39 | var hours2 = clockTime.hour;
40 | var scrwidth = DevSys.screenWidth;
41 | var minString = Lang.format("$1$", [clockTime.min.format("%02d")]);
42 | var dateString = Lang.format("$1$ $2$", [dateInfo.day_of_week, dateInfo.day]);
43 | var monthString = Lang.format("$1$ $2$", [dateInfo.month, dateInfo.year]);
44 | var batteryinfo = Lang.format("$1$%", [Sys.getSystemStats().battery.format("%02d")]);
45 | var stepinfo = Lang.format("$1$", [act.steps]);
46 | var usesecs = App.getApp().getProperty("Secs");
47 | var se = clockTime.sec;
48 | var secString = Lang.format("$1$", [se]);
49 | if (!Sys.getDeviceSettings().is24Hour) {
50 | if (hours > 12) {
51 | hours = hours - 12;
52 | }
53 | } else {
54 | if (App.getApp().getProperty("UseMilitaryFormat")) {
55 | timeFormat = "$1$$2$";
56 | hours = hours.format("%02d");
57 | }
58 | }
59 | var hourString = Lang.format("$1$", [hours]);
60 | var timeString = Lang.format(timeFormat, [hours, clockTime.min.format("%02d")]);
61 |
62 | // Update the view
63 | var view = View.findDrawableById("TimeLabel");
64 | var viewstep = View.findDrawableById("stepinfoicon");
65 | var viewdate = View.findDrawableById("date");
66 | var viewmon = View.findDrawableById("mon");
67 | var view2 = View.findDrawableById("TimeLabel2");
68 | var viewbatt = View.findDrawableById("batticont");
69 | var viewsec = View.findDrawableById("seconds");
70 | var viewcolon = View.findDrawableById("colon");
71 | view.setText(hourString);
72 | viewstep.setText(stepinfo);
73 | viewdate.setText(dateString);
74 | viewmon.setText(monthString);
75 | view2.setText(minString);
76 | viewbatt.setText(batteryinfo);
77 | if (scrwidth == 218){
78 | view.setLocation(75, 40);
79 | view2.setLocation(150, 40);
80 | viewbatt.setLocation(125, 23);
81 | viewstep.setLocation(123, 5);
82 | viewsec.setLocation(193, 50);
83 | }
84 | if (scrwidth == 240){
85 | view.setLocation(82, 90);
86 | view2.setLocation(160, 90);
87 | viewbatt.setLocation(125, 22);
88 | viewstep.setLocation(127, 1);
89 | viewsec.setLocation(193, 55);
90 | viewmon.setLocation(120, 198);
91 | viewdate.setLocation(120, 175);
92 | }
93 | if (App.getApp().getProperty("UseMilitaryFormat")) {
94 | viewcolon.setText("");
95 | }
96 | else{
97 | viewcolon.setText(":");
98 | }
99 | if (hours2 <= 10){
100 | view.setColor(0xFFFFFF);
101 | viewstep.setColor(0xFFFFFF);
102 | viewdate.setColor(0xFFFFFF);
103 | viewmon.setColor(0xFFFFFF);
104 | view2.setColor(0xFFFFFF);
105 | viewbatt.setColor(0xFFFFFF);
106 | viewsec.setColor(0xFFFFFF);
107 | viewcolon.setColor(0xFFFFFF);
108 | }
109 | if (hours2 >= 10){
110 | if (hours2 << 12){
111 | view.setColor(0x000000);
112 | viewstep.setColor(0x000000);
113 | viewdate.setColor(0x000000);
114 | viewmon.setColor(0x000000);
115 | view2.setColor(0x000000);
116 | viewbatt.setColor(0x000000);
117 | viewsec.setColor(0x000000);
118 | viewcolon.setColor(0x000000);
119 | }
120 | }
121 | if (hours2 >= 12){
122 | if (hours2 << 14){
123 | view.setColor(0x000000);
124 | viewstep.setColor(0x000000);
125 | viewdate.setColor(0x000000);
126 | viewmon.setColor(0x000000);
127 | view2.setColor(0x000000);
128 | viewbatt.setColor(0x000000);
129 | viewsec.setColor(0x000000);
130 | viewcolon.setColor(0x000000);
131 | }
132 | }
133 | if (hours2 >= 14){
134 | if (hours2 << 16){
135 | view.setColor(0x000000);
136 | viewstep.setColor(0x000000);
137 | viewdate.setColor(0x000000);
138 | viewmon.setColor(0x000000);
139 | view2.setColor(0x000000);
140 | viewbatt.setColor(0x000000);
141 | viewsec.setColor(0x000000);
142 | viewcolon.setColor(0x000000);
143 | }
144 | }
145 | if (hours2 >= 16){
146 | if (hours2 <= 17){
147 | view.setColor(0xFFFFFF);
148 | viewstep.setColor(0xFFFFFF);
149 | viewdate.setColor(0xFFFFFF);
150 | viewmon.setColor(0xFFFFFF);
151 | view2.setColor(0xFFFFFF);
152 | viewbatt.setColor(0xFFFFFF);
153 | viewsec.setColor(0xFFFFFF);
154 | viewcolon.setColor(0xFFFFFF);
155 | }
156 | if (hours2 >= 18){
157 | if (hours2 <= 19){
158 | view.setColor(0x000000);
159 | viewstep.setColor(0x000000);
160 | viewdate.setColor(0x000000);
161 | viewmon.setColor(0x000000);
162 | view2.setColor(0x000000);
163 | viewbatt.setColor(0x000000);
164 | viewsec.setColor(0x000000);
165 | viewcolon.setColor(0x000000);
166 | }
167 | }
168 | if (hours2 >= 20){
169 | view.setColor(0xFFFFFF);
170 | viewstep.setColor(0xFFFFFF);
171 | viewdate.setColor(0xFFFFFF);
172 | viewmon.setColor(0xFFFFFF);
173 | view2.setColor(0xFFFFFF);
174 | viewbatt.setColor(0xFFFFFF);
175 | viewsec.setColor(0xFFFFFF);
176 | viewcolon.setColor(0xFFFFFF);
177 | }
178 | }
179 | if (hours2 <= 11){
180 | view = View.findDrawableById("footicon");
181 | view.setLocation(33, 0);
182 | view = View.findDrawableById("batticon");
183 | view.setLocation(52, 23);
184 | if (scrwidth == 218){
185 | view = View.findDrawableById("footicon");
186 | view.setLocation(65, 5);
187 | view = View.findDrawableById("batticon");
188 | view.setLocation(80, 28);
189 | }
190 | if (scrwidth == 240){
191 | view = View.findDrawableById("footicon");
192 | view.setLocation(65, 5);
193 | view = View.findDrawableById("batticon");
194 | view.setLocation(80, 28);
195 | }
196 | view = View.findDrawableById("footiconb");
197 | view.setLocation(99999, 0);
198 | view = View.findDrawableById("batticonb");
199 | view.setLocation(5299999, 23);
200 | }
201 | if (hours2 >= 16){
202 | view = View.findDrawableById("footicon");
203 | view.setLocation(33, 0);
204 | view = View.findDrawableById("batticon");
205 | view.setLocation(52, 23);
206 | if (scrwidth == 218){
207 | view = View.findDrawableById("footicon");
208 | view.setLocation(65, 5);
209 | view = View.findDrawableById("batticon");
210 | view.setLocation(80, 28);
211 | }
212 | if (scrwidth == 240){
213 | view = View.findDrawableById("footicon");
214 | view.setLocation(65, 5);
215 | view = View.findDrawableById("batticon");
216 | view.setLocation(80, 28);
217 | }
218 | view = View.findDrawableById("footiconb");
219 | view.setLocation(33999, 0);
220 | view = View.findDrawableById("batticonb");
221 | view.setLocation(529999, 23);
222 | }
223 | if (hours2 >= 16){
224 | if (hours2 <= 17){
225 | view = View.findDrawableById("footicon");
226 | view.setLocation(33, 0);
227 | view = View.findDrawableById("batticon");
228 | view.setLocation(52, 23);
229 | if (scrwidth == 218){
230 | view = View.findDrawableById("footicon");
231 | view.setLocation(65, 5);
232 | view = View.findDrawableById("batticon");
233 | view.setLocation(80, 28);
234 | }
235 | if (scrwidth == 240){
236 | view = View.findDrawableById("footicon");
237 | view.setLocation(65, 5);
238 | view = View.findDrawableById("batticon");
239 | view.setLocation(80, 28);
240 | }
241 | view = View.findDrawableById("footiconb");
242 | view.setLocation(33999, 0);
243 | view = View.findDrawableById("batticonb");
244 | view.setLocation(529999, 23);
245 | }
246 | if (hours2 >= 18){
247 | if (hours2 <= 19){
248 | view = View.findDrawableById("footiconb");
249 | view.setLocation(33, 0);
250 | view = View.findDrawableById("batticonb");
251 | view.setLocation(52, 23);
252 | if (scrwidth == 218){
253 | view = View.findDrawableById("footiconb");
254 | view.setLocation(65, 5);
255 | view = View.findDrawableById("batticonb");
256 | view.setLocation(80, 28);
257 | }
258 | if (scrwidth == 240){
259 | view = View.findDrawableById("footiconb");
260 | view.setLocation(65, 5);
261 | view = View.findDrawableById("batticonb");
262 | view.setLocation(80, 28);
263 | }
264 | view = View.findDrawableById("footicon");
265 | view.setLocation(33999, 0);
266 | view = View.findDrawableById("batticon");
267 | view.setLocation(529999, 23);
268 | }
269 | }
270 | if (hours2 >= 20){
271 | view = View.findDrawableById("footicon");
272 | view.setLocation(33, 0);
273 | view = View.findDrawableById("batticon");
274 | view.setLocation(52, 23);
275 | if (scrwidth == 218){
276 | view = View.findDrawableById("footicon");
277 | view.setLocation(65, 5);
278 | view = View.findDrawableById("batticon");
279 | view.setLocation(80, 28);
280 | }
281 | if (scrwidth == 240){
282 | view = View.findDrawableById("footicon");
283 | view.setLocation(65, 5);
284 | view = View.findDrawableById("batticon");
285 | view.setLocation(80, 28);
286 | }
287 | view = View.findDrawableById("footiconb");
288 | view.setLocation(33999, 0);
289 | view = View.findDrawableById("batticonb");
290 | view.setLocation(529999, 23);
291 | }
292 | }
293 | if (hours2 <= 15){
294 | if (hours2 >= 10){
295 | view = View.findDrawableById("footiconb");
296 | view.setLocation(33, 0);
297 | view = View.findDrawableById("batticonb");
298 | view.setLocation(52, 23);
299 | if (scrwidth == 218){
300 | view = View.findDrawableById("footiconb");
301 | view.setLocation(65, 5);
302 | view = View.findDrawableById("batticonb");
303 | view.setLocation(80, 28);
304 | }
305 | if (scrwidth == 240){
306 | view = View.findDrawableById("footiconb");
307 | view.setLocation(65, 5);
308 | view = View.findDrawableById("batticonb");
309 | view.setLocation(80, 28);
310 | }
311 | }
312 | }
313 | view = View.findDrawableById("seconds");
314 | if (App.getApp().getProperty("UseMilitaryFormat")) {
315 | view.setText("");
316 | }
317 | else {
318 | view.setText("");
319 | }
320 | if (usesecs == true){
321 | if (sleeping == false){
322 | view = View.findDrawableById("seconds");
323 | view.setText(secString);
324 | sleepcount = sleepcount + 1;
325 | if (newsleep == true){
326 | sleepcount = 0;
327 | newsleep = false;
328 | }
329 | if (sleepcount == 9){
330 | sleeping = true;
331 | sleepcount = 0;
332 | if (App.getApp().getProperty("UseMilitaryFormat")) {
333 | view.setText("");
334 | }
335 | else {
336 | view.setText(":");
337 | }
338 | }
339 | }
340 | }
341 |
342 | // Call the parent onUpdate function to redraw the layout
343 | View.onUpdate(dc);
344 | }
345 |
346 | // Called when this View is removed from the screen. Save the
347 | // state of this View here. This includes freeing resources from
348 | // memory.
349 | function onHide() {
350 | }
351 |
352 | // The user has just looked at their watch. Timers and animations may be started here.
353 | function onExitSleep() {
354 | sleeping = false;
355 | newsleep = true;
356 | }
357 |
358 | // Terminate any active timers and prepare for slow updates.
359 | function onEnterSleep() {
360 | sleeping = true;
361 | }
362 |
363 | }
364 |
--------------------------------------------------------------------------------
/Watchfaces/LeftHand Watchface - Round/bin/LeftHand Watchface - Round.prg.debug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 | Draw the layout
param The context
]]>
281 |
282 |
283 |
284 |
--------------------------------------------------------------------------------