-
- Administrator
-
-
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.
buttons don't work
Forum rules
All communication in this branch should only be in English.
All communication in this branch should only be in English.
buttons don't work
I have some questions about "hmApp.startApp" on my Active 2(NFC), all installed by V14.1.1 in the "Buttons"-menu from pulldown without changes.
What should do Respiration (url: 'RespirationControlScreen')? When I click the button, nothing happens.
The same problem with Breathing ({url: 'RespirationwidgetScreen', both in "Activities".
Also the App World Time (hmApp.startApp({url: 'WorldClockScreen') does nothing. In watch menu I can select worldclock and it works, but the button doesn't call it.
All this apps should work, but don't, because they are exactly like this in the firmware-files.
Other apps like Calendar, Alarm, BaroAltimeter, Compass, Sun etc. work fine.
Does somebody know how to call navigation-screen by "Button"?
PS: Also on Lattenknaller's "Illuminator Active 2" World Time (tap on analog watch) doesn't work...
What should do Respiration (url: 'RespirationControlScreen')? When I click the button, nothing happens.
The same problem with Breathing ({url: 'RespirationwidgetScreen', both in "Activities".
Also the App World Time (hmApp.startApp({url: 'WorldClockScreen') does nothing. In watch menu I can select worldclock and it works, but the button doesn't call it.
All this apps should work, but don't, because they are exactly like this in the firmware-files.
Other apps like Calendar, Alarm, BaroAltimeter, Compass, Sun etc. work fine.
Does somebody know how to call navigation-screen by "Button"?
PS: Also on Lattenknaller's "Illuminator Active 2" World Time (tap on analog watch) doesn't work...
- SashaCX75
- Posts: 820
- Joined: 26 Oct 2019, 15:18
- Location: Ukraine
- Has thanked: 13 times
- Been thanked: 1029 times
- Contact:
In the new firmware, the World Time app is not part of the firmware but is installed as an external programme. Therefore, the path to launch it has changed. I think the same problem applies to Breathing.
I thought I had added new buttons in the latest version of the editor. But now I looked and it turns out they are missing somewhere.
hmApp.startApp({ appid: 1049670, url: “page/wclk_showLayer”}) - start world time
I thought I had added new buttons in the latest version of the editor. But now I looked and it turns out they are missing somewhere.
hmApp.startApp({ appid: 1049670, url: “page/wclk_showLayer”}) - start world time
- SashaCX75
- Posts: 820
- Joined: 26 Oct 2019, 15:18
- Location: Ukraine
- Has thanked: 13 times
- Been thanked: 1029 times
- Contact:
For breathing appid: 1053484
And url can take the following values
"page/gt/home/index.page",
"page/gt/help/help.page",
"page/gt/result/result.page",
"page/gt/start/start.page",
"page/gt/select/select.page",
"page/gt/measure/measure.page",
"page/gt/setting/setting.page",
"page/gt/edit/edit.page",
"page/gt/week/week.page",
"page/gt/repeat/repeat.page"
I haven't checked which of these actually works. You can check for yourself and write about it here.
And url can take the following values
"page/gt/home/index.page",
"page/gt/help/help.page",
"page/gt/result/result.page",
"page/gt/start/start.page",
"page/gt/select/select.page",
"page/gt/measure/measure.page",
"page/gt/setting/setting.page",
"page/gt/edit/edit.page",
"page/gt/week/week.page",
"page/gt/repeat/repeat.page"
I haven't checked which of these actually works. You can check for yourself and write about it here.
Thanks for this answer for World Time, but first, instead a watchface, only a black screen on the watch...
Your hmApp... is wrong with double quotes, only singe quotes allowed + a semicolon at the end:
hmApp.startApp({appid: 1049670, url: 'page/wclk_showLayer'});
like this it works.
World Time works fine, but your urls for breathing appid: 1053484 all do nothing...
Do you know a command for navigation-screen?
Your hmApp... is wrong with double quotes, only singe quotes allowed + a semicolon at the end:
hmApp.startApp({appid: 1049670, url: 'page/wclk_showLayer'});
like this it works.
World Time works fine, but your urls for breathing appid: 1053484 all do nothing...
Do you know a command for navigation-screen?
- SashaCX75
- Posts: 820
- Joined: 26 Oct 2019, 15:18
- Location: Ukraine
- Has thanked: 13 times
- Been thanked: 1029 times
- Contact:
Actually, that's not entirely true. Semicolons are not required at the end. Double quotes can be used in the code. But if you add code via the editor, double quotes are converted to another character due to data storage features, and this causes an error. I will try to fix this in future versions.marrud12 wrote: 05 Sep 2025, 22:55Your hmApp... is wrong with double quotes, only singe quotes allowed + a semicolon at the end:
It works. Just not quite the way I would like it to. The most suitable command is
Code: Select all
hmApp.startApp({ appid: 1053484, url: “page/gt/home/index.page”})Show a screenshot to understand what is meant.
Now it works with the downloaded app. It would be fine if you write, e.g. in "Tips for use", what App from the store is needed for a function.
Active 2 premum has a navigation screen (map) and I am looking for a function for a button to call it.
Active 2 premum has a navigation screen (map) and I am looking for a function for a button to call it.
- SashaCX75
- Posts: 820
- Joined: 26 Oct 2019, 15:18
- Location: Ukraine
- Has thanked: 13 times
- Been thanked: 1029 times
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest