Garmin Forums
Garmin Forums
  • Site
  • User
  • Site
  • Search
  • User
  • Apps & Software
  • Outdoor Recreation
  • Sports & Fitness
  • Pilots
  • Developer
  • Beta Program
  • German Forum
  • More
  • Cancel
Connect IQ
  • Developer
Connect IQ
Connect IQ App Development Discussion Bug report : ActivityMonitor and CIQ4
  • News & Announcements
  • Forums
  • Bug Reports
  • Wiki
  • Tags
  • More
  • Cancel
  • New
  • Replies 5 replies
  • Subscribers 21 subscribers
  • Views 960 views
  • Users 0 members are here
  • Connect IQ Developers
  • activitymonitor
  • sdk
  • ciq4
  • bug
Options
  • Share
  • More
  • Cancel
Related

Bug report : ActivityMonitor and CIQ4

9635560
9635560 over 5 years ago

Hi,

Just created this bug report in case anybody else is affected:

(1) Venu 2s / Venu 2 ( CIQ4 ) throws error reading ActivityMonitor.getInfo() - Connect IQ Bug Reports - Connect IQ - Garmin Forums

G

  • Sign in to reply
  • Cancel
  • jim_m_58
    jim_m_58 over 5 years ago

    See https://forums.garmin.com/developer/connect-iq/i/bug-reports/on-venu-2-2s-no-activitymonitor-info

    Looks to be a bug in the most recent device files for the venu2 and venu2s

    • Cancel
    • Up 0 Down
    • Sign in to reply
    • Cancel
  • 9635560
    9635560 over 5 years ago in reply to jim_m_58

    Ah, ok. Disappointed

    If I change my code snippet in the bug report:

    System.println("HAS? "+(Toybox.ActivityMonitor has :getInfo)+" "+(Toybox.ActivityMonitor has :info));
            
    var am = ActivityMonitor.getInfo();
     

    I see this instead:

    HAS? true false
    
    Error: Symbol Not Found Error
    Details: Failed invoking <symbol>
    Stack: 
      - getField() at E:\gdcsoft\SVN_GARMIN\WF_CircleText\source\WFView.mc:494 0x10005728 
      - drawScreen() at E:\gdcsoft\SVN_GARMIN\WF_CircleText\source\WFView.mc:454 0x10005485 
      - onUpdate() at E:\gdcsoft\SVN_GARMIN\WF_CircleText\source\WFView.mc:401 0x10005092 
    

    So...

    That sucks then. 

    I hope they fix it soon.

    • Cancel
    • Up 0 Down
    • Sign in to reply
    • Cancel
  • 9635560
    9635560 over 5 years ago in reply to 9635560

    Sorry, I saw your post at the end with the capital I...

    So I get this, which is just as useless:

    System.println("HAS? "+(Toybox.ActivityMonitor has :getInfo)+" "+(Toybox.ActivityMonitor has :info)+" "+(Toybox.ActivityMonitor has :Info));
    
    var am = ActivityMonitor.getInfo();

    HAS? true false true
    
    Error: Symbol Not Found Error
    Details: Failed invoking <symbol>
    Stack: 
      - getField() at E:\gdcsoft\SVN_GARMIN\WF_CircleText\source\WFView.mc:494 0x10005743 
      - drawScreen() at E:\gdcsoft\SVN_GARMIN\WF_CircleText\source\WFView.mc:454 0x10005485 
      - onUpdate() at E:\gdcsoft\SVN_GARMIN\WF_CircleText\source\WFView.mc:401 0x10005092 

    • Cancel
    • Up 0 Down
    • Sign in to reply
    • Cancel
  • Shent-Aurkhan (SHN)
    Shent-Aurkhan (SHN) over 5 years ago in reply to 9635560

    Hi, may be something Else, did you put:

    Using Toybox.ActivityMonitor ? 

    • Cancel
    • Up 0 Down
    • Sign in to reply
    • Cancel
  • jim_m_58
    jim_m_58 over 5 years ago in reply to Shent-Aurkhan (SHN)

    Yes, there was an update for the Venu2 and Venu2s at the end of last week that broke ActivityMonitor on those devices.

    • Cancel
    • Up 0 Down
    • Sign in to reply
    • Cancel