Ticket Created
over 5 years ago

WERETECH-8399

CALORIES

   I´m trying to get calories with this function but it only displays the number when a power meter is present on simulation mode.

on compute info


if (info.calories != null) {

    calories = info.calories;

    }

on update

textC(dc, 70, 308, Gfx.FONT_NUMBER_MEDIUM, fields.calories != null ? fields.calories : "0" );

Parents
  • Could you clarify a little on what you are seeing?

    Are you seeing issues in the simulator or on device? What do you mean by when a "power meter is present on simulation mode"?

    If you are trying to get calories in the simulator, make sure you turn on Fit data simulation in the CIQ simulator menu (Simulation > FIT Data > Simulate Data)

Comment
  • Could you clarify a little on what you are seeing?

    Are you seeing issues in the simulator or on device? What do you mean by when a "power meter is present on simulation mode"?

    If you are trying to get calories in the simulator, make sure you turn on Fit data simulation in the CIQ simulator menu (Simulation > FIT Data > Simulate Data)

Children
No Data