I am trying to access some of the 'newer' fields of Activity.Info inside of a complex data field and having no luck. For example, when the following code is run in the simulator on a Fenix 3, it crashes with a 'Symbol Not Found Error'.
class a extends Ui.DataField
{
...
function compute(info)
{
System.println("track: " + info.track);
}
....
}
As far as I am aware the 'track' attribute has been available since 1.2.10 (according to the docs http://developer.garmin.com/connect-iq/api-docs/) and I am using SDK 2.1.2. Same goes for the other attributes available since 1.2.10. I'm guessing I'm probably doing something dumb or just haven't read the latest post about using these attributes :confused:?
While I'm at it, does info.currentCadence give the walking cadence for a walking activity, or the running cadence for a running activity, or, if not, is there a way to get these values?