Hi, I'm working on my first app, which is working 100% in the eclipse garmin simulator for fenix 6 solar with and without nav data and activity data on simulate.
When I sideload the data screen to the watch, only two of my activity.info values are displaying correctly, and all the rest of them are displaying as 0.000000, this does not happen in the simulator, even with activity turned off - it shows my else "" value
Here is one of the bits of the code, that works in the watch and not in the watch simulator. Is there a bug in the simulator or watch? or both and my code is wrong ?
Hidden var = mTrack;
Function initialize() {
mTrack = 0.0f;
undeer function compute(info) {
if(info has :track && info.track != null){
mTrack = (Math.toDegrees(info.track)).format("%03d");
} else {
mTrack = "";
}
displaying the result using dcdraw after onUpdate(dc)
dc.drawText(width / 8 * 3.6, height / 12 * 9.6, Graphics.FONT_NUMBER_MEDIUM, mTrack, textCenter);
like this in the simulator, on the watch all the String letters display, plus Time at the bottom and distance ( next to WYPT ) in the picture
Every other field is 0.000000 ?????
I'm at a loss as to what to do? IS there some kind of limit with amount of data that can be displayed in a datafield?