Accessing music controls without the built in Garmin control (holding up)

Former Member
Former Member
I have a forerunner 235 and I'm looking to make an app that displays ride stats like the normal bicycle or run app, but also allows music control without the need to go through the Garmin music control screen (by long holding the up button). I've looked through all the functions of the CIQ SDK and I couldn't see anything about music control. Did I miss it?

If there is no native CIQ method to do this, does anybody know how to send AVRCP commands to the phone to send simple Prev/Next/Pause commands?
  • I've looked through all the functions of the CIQ SDK and I couldn't see anything about music control. Did I miss it?

    This is not part of the SDK. This is built into the Garmin Connect Mobile app and the firmware on the device.

    If there is no native CIQ method to do this, does anybody know how to send AVRCP commands to the phone to send simple Prev/Next/Pause commands?

    You can't send them directly. You'd need to write a ConnectIQ Mobile app. You'd send messages from the Garmin device to your mobile app, and then the mobile app would translate those commands into actions on the phone side.

    Travis
  • Former Member
    Former Member over 8 years ago
    Double bummer!

    How is the built in music control sending it to the Garmin Connect App? Can I just copy those commands? I'm guessing an watch app wouldn't have the same connection to the Garmim Connect App?
  • How is the built in music control sending it to the Garmin Connect App?

    I'm not certain, but I'm pretty sure the answer is simple. Garmin Connect Mobile is a ConnectIQ Mobile app. It uses the ConnectIQ Mobile SDK. The music control widget is a ConnectIQ widget that uses the Communications module to communicate with the mobile app. Pretty much exactly like I said you'd have to do...

    Can I just copy those commands?

    No. The mobile app can't communicate with just any app on the device. You have to write your own app.

    I'm guessing an watch app wouldn't have the same connection to the Garmim Connect App?

    Exactly. You have to write your own.

    Travis