Ticket Created
over 5 years ago

GCMA-16265

RE: No callback from getApplicationInfo

So was this fixed 3 years ago with the GCM 3.2? If so, it seems to be back. I'm prototyping an app for Edge 1000 that receives sensor data and sends it to my companion app, and I'm getting the very same behavior: SDK is connected with all the callbacks, the device list is obtained but once I try to query Application Info, no callbacks are called, neither onApplicationInfoReceived nor onApplicationNotInstalled.

Another strange thing: the onDeviceStatusChanged callback is called only once, when my Android application is starting and quering the device list with getKnownDevices(). Once it's running and I'm disconnecting the Edge's Bluetooth, no callbacks are called anymore, so my companion app doesn't recognise that the Edge was disconnected.

I also tried the sample Comm app, and it has the same behavior.

I'm using the Edge 1000 with the Sofware Version 15.20, Garmin Connect Mobile 4.19.1, Sony Xperia XA2 with Android 9, ConnectIQ Mobile SDK 1.4

I tried targeting different Android SDK versions (19, 25, and 29), all with no luck. Is there something else I can do? Android App Permissions or something?

Former Member
Former Member
  • Any news on this? I have had the problem for 2 weeks I suppose a problem with Garmin Connect

  • Former Member
    Former Member over 5 years ago

    Any news on this? I am having this problem as well, on two different Android devices (Samsung Galaxy S6 and Huawei P20 Pro) connected to Edge 820. Other callbacks I get (onDeviceStatusChanged) but not getApplicationInfo.

  • Former Member
    Former Member over 5 years ago

    thanks for looking into it. Meanwhile, I've tried this on a clean smartphone Samsung Galaxy A3 with Android 8, and the result was the same.

    I also tried resetting my Edge unit to factory settings, removed all ConnectIQ apps and data fields, and it didn't help either. 

    Another peculiar thing I noticed: whenever I run my ConnectIQ app on the device, it crashes claiming in Log that both Communications.registerForPhoneAppMessages and setMailboxListener are unknown symbols, although I import Communications. Does the device need to be connected to the companion app for these calls to work?

    Anyway, I modified my ConnectIQ app to use makeWebRequest() and implemented an HTTP server in my companion app, so that it doesn't use the ConnectQ SDK anymore. This works flawlessly so far.

  • I've split this out into a bug report for us to track.