Sample BLE communication

Former Member
Former Member
Hi everyone,

I'm new on this forum and new also in developping for Garmin. I'm try to understand how communication BLE with direct messagging works.
I don't know how to use the app for th mobile phone. I know that to run on the mobile phone I must have an apk, but I don't know how to do.
On the other side I have the Garmin simulator and I have done all procedure to do the connection ADB but I can't run the app COMM sample.
Can anyone help me please?

Thanks in advance
  • This is something I've not done myself, but in the general readme file in the SDK, there are instructions for using the Comm sample with your phone. It's on the same level as the samples directory.
  • Former Member
    Former Member over 7 years ago
    Thanks for your replay. I have read read the readme file in the SDK but it doesn not explain how to use app on the mobile phone. I understand that to run this example is necessary to simply install the Comm Android on the smarthone and after the communication will be between smartphone and simulator of Connect IQ starting ADB and making all settings. But I'm not able the app side Smartphone. Can someone give me, let me said "stupid" instructions to use this sample.

    Thank in advance
  • Like I said, I've never used this myself, just pointing to what I know (the readme) . No stress for me.

    One the of Garmin folks probably has the answer for you.
  • Former Member
    Former Member over 7 years ago
    Ok..So I wait for someone that can try to help me.

    Thanks a lot anyway
  • Former Member
    Former Member over 7 years ago
    Hi,

    I solved the problem was just a mine mistake. :-)
  • Hey Chukka

    I started trying to dig into this yesterday, but ran into a bunch of roadblocks with my environment. First, I'm sorry it was difficult to get going. We are always looking to make these docs better, though the sometimes get neglected in light of bigger fires in the ecosystem.

    Thanks,
    - Coleman
  • Former Member
    Former Member over 6 years ago
    I'm having exactly the issue as Chukka!

    At last, I thought I was the only one who couldn't understand the CIQ mobile SDK HTML help file.

    It simply says put the jar file in the lib folder of your Android project, which assumes that you already have an Android project....How?

    I have raised a couple of posts. but haven't had any suitable responses (thanks for the suggestions for further searches from jim_m_58).
    My latest is https://forums.garmin.com/forum/developers/connect-iq/1399998-using-the-comm-sample.

    I've developed my watch app using CIQ but I can't find any suitably stupid instructions to use the CIQ mobile SDK.

    As Chukka says, I know I need any apk file for the Android, as I've previously developed Apps for my phone (using "App Inventor")

    But I can't get off the starting blocks with the CIQ mobile SDK.
    Please help:D

  • Ewelme, see my response to your other post. Basically you need to start spending some time at developer.android.com to find the answers to your basic questions.

    There is a lot to go through so don't get discouraged, it will take time to figure it out.
  • Former Member
    Former Member over 6 years ago
    Hi sabeard,
    Thanks for the 'heads up'. I'll check it out.
  • Former Member
    Former Member over 4 years ago in reply to Former Member

    Hi chukka, i faced the same problem as you mentioned above ,how can you resolve this..help from your side.thanks..!