Accelerometer in simulator

Former Member
Former Member
Is it possible to test accelerometer in simulator? In my case, the simulator always show info don't has accel.
  • Former Member
    Former Member
    Actually it's not available in simulator. For now i recommend testing it on a device (e.g. Fenix3) with a beta FW supporting CIQ 1.2.0. Everything you need: http://developer.garmin.com/index.php/blog/post/announcing-connect-iq-1.2/

    Please also have a look at the new example project "AccelMag".
    Before accessing the sensor i would check if it's available:
    var info = Sensor.getInfo();
    if( info has :accel && info.accel != null )
    { ...}


    Thanks,
    Daniel
  • Former Member
    Former Member
    AccelMag

    Hi,
    I am having trouble using the AccelMag within samples:

    ######################
    Copying file.... 100% complete
    File pushed successfully
    Connection Finished
    Closing shell and port
    Found Transport: tcp
    Connecting...
    Connecting to device...
    Device Version 0.1.0
    Device id 1 name "A garmin device"
    Shell Version 0.1.0
    Could not find symbol AccelMagDelegate.
    Symbol Not Found Error
    in getInitialView (source/AccelMagApp.mc:26)
    Failed invoking <symbol>
    Connection Finished
    Closing shell and port
    #######################

    Does anyone has got it working?