Activity object only available for data field

Hi,

The docs say the activity object is only available for the data field app type.

But what if I wanted to have say the altitude data on a watch face or even in an app. Can it not be done?

Seems like a huge limitation

Would it be possible to allow access to it for the watch face or at least the app!?

Thanks a million!
  • Former Member
    Former Member over 10 years ago
    Have a look at page 53 to 56 in the Monkey C Programmers Guide.
  • Former Member
    Former Member over 10 years ago
    Altitude is available to apps through the Positioning Module.

    Most sensor data isn't available when the device is in watch mode. There are some devices (like Fenix) that read sensor data like altitude at low resolution in this mode. We would need a separate API to expose this to watch faces.
  • Have a look at page 53 to 56 in the Monkey C Programmers Guide.


    Yes all well and good but it;'s not available in watch app type or app app type modes! Thats my point
  • Altitude is available to apps through the Positioning Module.

    Most sensor data isn't available when the device is in watch mode. There are some devices (like Fenix) that read sensor data like altitude at low resolution in this mode. We would need a separate API to expose this to watch faces.


    OK so not available in watch mode fine, but surely it should be available in app mode!? No?
  • Yes, it is available to apps:

    Altitude is available to apps through the Positioning Module.
  • But then Activity Monitor isn't

    So how can I have say steps and elevation on screen?
  • Former Member
    Former Member over 10 years ago
    Yes all well and good but it;'s not available in watch app type or app app type modes! Thats my point


    The positioning module is available in Widgets and Apps. In Datafields most of this data is available in the Info class of the Activity module. That only leaves watch faces, which should not drain the battery.
  • The positioning module is available in Widgets and Apps. In Datafields most of this data is available in the Info class of the Activity module. That only leaves watch faces, which should not drain the battery.


    OK so its available in Apps but then ActivityMonitor isn't so cannot have elevation and steps available in an app for example
  • Former Member
    Former Member over 10 years ago
    Is there a place in the documentation that indicates ActivityMonitor isn't available to Apps? It most certainly is.
  • Is there a place in the documentation that indicates ActivityMonitor isn't available to Apps? It most certainly is.


    Actually it is p30/31 APIS AND APP TYPES - the table.
    ActivityMonitor not available for App
    No word about ActivityMonitor and History in Monkey C Programmer’s Guide – Version 1.0.0