Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storing the activity data #1

Open
makebit opened this issue Aug 20, 2021 · 12 comments
Open

Storing the activity data #1

makebit opened this issue Aug 20, 2021 · 12 comments

Comments

@makebit
Copy link

makebit commented Aug 20, 2021

Hello and thank you for the data field.
Do you think it is possible to record and store the displayed values such that they can be viewed after the activity?

Thank you

@markdotai
Copy link
Owner

markdotai commented Aug 21, 2021 via email

@NicholasRasi
Copy link
Contributor

Hi Mark,
I can try to implement this feature, because in my opinion it would be useful.
However, do you think that the data field should record only the displayed fields or all the available ones?

Thanks,
Nik

@NicholasRasi
Copy link
Contributor

Hi @markdotai,
I figured out how to store the values in the activity.
In my opinion, in order to simplify the development of this feature we could select a subset of the available values.
I think that, it would be nice if we store these values: available battery, cadence and assistance level.

What do you think?

@markdotai
Copy link
Owner

Nice work again :) Those 3 values sound like the best ones to store - I think it will be very useful to everyone, and much appreciated!

I've been very busy all week, but I'll add in your new data display changes this weekend, and make a new version. Plus check your other comments :)

Thanks for your great work on this!

@hrissanen
Copy link

@NicholasRasi
It would be very nice if you can make store these values: available battery, cadence and assistance level.

-H

@NicholasRasi
Copy link
Contributor

@NicholasRasi It would be very nice if you can make store these values: available battery, cadence and assistance level.

-H

Hi @hrissanen,
I proposed a new version in #4

@seppal123
Copy link

Hi Everone
As i´m not an programmer, could someone please confirm that the master code can be compiled ?
When i try to run the code, i get the following Errors (See below).
Am i doing something wrong, could someone guide me ?

thank you
Alessandro

*  Executing task in folder emtb-master: C:\Program Files\Java\jre-1.8\bin\java.exe -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar c:\Users\sandro\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-6.3.1-2023-09-25-47b193194\bin\monkeybrains.jar -o bin\emtbmaster.prg -f c:\Users\sandro\E-Bike-App\emtb-master\monkey.jungle -y c:\Users\sandro\E-Bike-App\developer_key -d fr255m_sim -w 

WARNING: fr255m: The launcher icon (30x30) isn't compatible with the specified launcher icon size of the device 'fr255m' (40x40). Image will be scaled to the target size.
ERROR: fr255m: C:\Users\sandro\E-Bike-App\emtb-master\source\emtbFitContributor.mc:14: Cannot resolve type 'Boolean'.
ERROR: fr255m: C:\Users\sandro\E-Bike-App\emtb-master\source\emtbFitContributor.mc:86: Cannot resolve type 'Boolean'.
ERROR: fr255m: C:\Users\sandro\E-Bike-App\emtb-master\source\emtbView.mc:271: Cannot resolve type 'Activity.Info'.
ERROR: fr255m: C:\Users\sandro\E-Bike-App\emtb-master\source\emtbView.mc:345: Cannot resolve type 'Dc'.
ERROR: fr255m: C:\Users\sandro\E-Bike-App\emtb-master\source\emtbView.mc:372: Cannot resolve type 'Dc'.
ERROR: fr255m: C:\Users\sandro\E-Bike-App\emtb-master\source\emtbView.mc:372: Cannot resolve type 'Lang.String'.
ERROR: fr255m: C:\Users\sandro\E-Bike-App\emtb-master\source\emtbView.mc:414: Cannot resolve type 'Dc'.

 *  The terminal process "C:\Program Files\Java\jre-1.8\bin\java.exe '-Xms1g', '-Dfile.encoding=UTF-8', '-Dapple.awt.UIElement=true', '-jar', 'c:\Users\sandro\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-6.3.1-2023-09-25-47b193194\bin\monkeybrains.jar', '-o', 'bin\emtbmaster.prg', '-f', 'c:\Users\sandro\E-Bike-App\emtb-master\monkey.jungle', '-y', 'c:\Users\sandro\E-Bike-App\developer_key', '-d', 'fr255m_sim', '-w'" terminated with exit code: 100. 
 *  Terminal will be reused by tasks, press any key to close it. 

@markdotai
Copy link
Owner

Which version of the Garmin CIQ SDK are you using @seppal123 ?
Things have changed a lot since these revisions were made, and I know I have had to fix things on other apps for version 4+

@markdotai
Copy link
Owner

The master-release branch has the latest version that matches the Garmin store - but even that is 5 months old and probably only compiles with the CIQ SDK 3 versions.

@seppal123
Copy link

seppal123 commented Oct 16, 2023

Which version of the Garmin CIQ SDK are you using @seppal123 ? Things have changed a lot since these revisions were made, and I know I have had to fix things on other apps for version 4+

Ok i have downloaded the latest Version Connect IQ 6.3.1.
Will try to use a version 3, will report if this works.

Thank you
Alessandro

@seppal123
Copy link

OK latest Version, which works correctly for compiling is 4.0.10. (tried this with forerunner 245m)
Badly my watch (Forerunner 255 Music) requires at least 4.2.2 and higher, so this is not going to work :-(
Any chance that you update this for a newer SDK Version?

Thank you so far
Alessandro

@markdotai
Copy link
Owner

I just don't have time at the moment sorry :( Too busy with work ...
The master-release branch may work with that SDK version if you want to try that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants