-
- Amministratore
-
-
Support Ukraine
If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
System Shortcut Features equiv in zeppOS watchface?
Regole del forum
All communication in this branch should only be in English.
All communication in this branch should only be in English.
-
CyclingAsia
- WF maker
- Messaggi: 10
- Iscritto il: 07 mag 2021, 09:57
- Località: Perth
- Has thanked: 2 times
- Been thanked: 3 times
- Contatta:
System Shortcut Features equiv in zeppOS watchface?
Good morning,
I'm currently in the process of porting my watch face from GTS 2 mini to GTS 4 mini. One feature I could not find in zeppOS is the Shortcut Features component. In the GTS 2 mini watch face, this allowed me to launch the new workout app when clicking on my "steps" widget and the timer app when clicking on the time.
The nearest thing I've found is the IMG_CLICK widget, but this widget uses the hmUI.data_type enum which doesn't include timer nor new workout.
Does anyone know if it is possible to launch apps that are not included in the hmUI.data_type enum?
I'll also note that I'm using zeus to create the watch face, and not the online editor. Once done, the code will be on github.
Thanks in advance.
I'm currently in the process of porting my watch face from GTS 2 mini to GTS 4 mini. One feature I could not find in zeppOS is the Shortcut Features component. In the GTS 2 mini watch face, this allowed me to launch the new workout app when clicking on my "steps" widget and the timer app when clicking on the time.
The nearest thing I've found is the IMG_CLICK widget, but this widget uses the hmUI.data_type enum which doesn't include timer nor new workout.
Does anyone know if it is possible to launch apps that are not included in the hmUI.data_type enum?
I'll also note that I'm using zeus to create the watch face, and not the online editor. Once done, the code will be on github.
Thanks in advance.
-
CyclingAsia
- WF maker
- Messaggi: 10
- Iscritto il: 07 mag 2021, 09:57
- Località: Perth
- Has thanked: 2 times
- Been thanked: 3 times
- Contatta:
Replying to myself...
I was able to launch the timer app by using hmUI.data_type.COUNT_DOWN, but I could not find an enum that would launch the new workout app. Any help would be appreciated
I was able to launch the timer app by using hmUI.data_type.COUNT_DOWN, but I could not find an enum that would launch the new workout app. Any help would be appreciated
- SashaCX75
- Messaggi: 812
- Iscritto il: 26 ott 2019, 15:18
- Località: Ukraine
- Has thanked: 13 times
- Been thanked: 1006 times
- Contatta:
For training, I only know Not sure if this is what the van needs
Codice: Seleziona tutto
hmApp.startApp({ appid: 1, url: 'SportListScreen', native: true })- SashaCX75
- Messaggi: 812
- Iscritto il: 26 ott 2019, 15:18
- Località: Ukraine
- Has thanked: 13 times
- Been thanked: 1006 times
- Contatta:
Here is a list of all the parameters related to training
SportAutoRecogScreen
SportCategoryListScreen
SportEditScreen
SportListScreen
SportPickerScreen
SportRecordListScreen
SportScreen
SportSettingAssistantScreen
SportSettingAutoLapScreen
SportSettingAutoPauseScreen
SportSettingBackScreen
SportSettingCadenceAssistantScreen
SportSettingDialogScreen
SportSettingGoalScreen
SportSettingMaxHrZoneScreen
SportSettingMoreScreen
SportSettingReminderModeScreen
SportSettingReminderScreen
SportSettingReserveHrZoneScreen
SportSettingSwimPoolLengthScreen
SportSettingVirtualPacerScreen
SportStatusScreen
SportAutoRecogScreen
SportCategoryListScreen
SportEditScreen
SportListScreen
SportPickerScreen
SportRecordListScreen
SportScreen
SportSettingAssistantScreen
SportSettingAutoLapScreen
SportSettingAutoPauseScreen
SportSettingBackScreen
SportSettingCadenceAssistantScreen
SportSettingDialogScreen
SportSettingGoalScreen
SportSettingMaxHrZoneScreen
SportSettingMoreScreen
SportSettingReminderModeScreen
SportSettingReminderScreen
SportSettingReserveHrZoneScreen
SportSettingSwimPoolLengthScreen
SportSettingVirtualPacerScreen
SportStatusScreen
-
CyclingAsia
- WF maker
- Messaggi: 10
- Iscritto il: 07 mag 2021, 09:57
- Località: Perth
- Has thanked: 2 times
- Been thanked: 3 times
- Contatta:
Thanks for that. I'll give it a go and see if I can get it to work with my watch face.
-
CyclingAsia
- WF maker
- Messaggi: 10
- Iscritto il: 07 mag 2021, 09:57
- Località: Perth
- Has thanked: 2 times
- Been thanked: 3 times
- Contatta:
Thanks a lot for the info. I was able to launch the sports selection list screen from my watchface. May I ask where you found the list of parameters? Is there documentation published by zepp/amazfit that isn't included in docs.zepp.com?
thanks in advance.
thanks in advance.
- SashaCX75
- Messaggi: 812
- Iscritto il: 26 ott 2019, 15:18
- Località: Ukraine
- Has thanked: 13 times
- Been thanked: 1006 times
- Contatta:
On various forums dedicated to Amazfit watches. I did not see such information in the official documentation.
- SashaCX75
- Messaggi: 812
- Iscritto il: 26 ott 2019, 15:18
- Località: Ukraine
- Has thanked: 13 times
- Been thanked: 1006 times
- Contatta:
@toolsrme there are no such shortcuts (URLs)
Is there a URL for the altimeter screen rather than the Barometer screen like this:
hmApp.startApp({url: 'BaroAltimeterScreen', native: true });
hmApp.startApp({url: 'BaroAltimeterScreen', native: true });
Chi c’è in linea
Visitano il forum: Nessuno e 1 ospite