Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

5 years old?  And broken?

Rank

Total Posts: 2

Joined 2020-11-12

PM

I am interested in writing an ANT+ android app, but am running into a lot of hurdles.

None of the examples will run on my phone, whether I compile the APKs myself, side load the ones in the SDK, or download the demo projects from the play store. In all cases the app simply crashes immediately if I click on a button to show ANT data.

All of them also warn they were written for older versions of android.

If I attempt to update the demo app to use current android libraries, the app will no longer load onto a phone. Running it in remote debugging it just crashes immediately.

I have a heart rate strap from Garmin that I'm using for testing, and I have other apps on my phone that connect to it and display data, so someone has created ANT+ apps that work on modern phones. Where are they finding information about ANT?

Questions and developer resources all seem to keep pointing in a circle back to this website, but there appears to be no activity at all going on here, and no updates.

Any help would be greatly appreciated.      
Rank

Total Posts: 1

Joined 2023-05-05

PM

Firstly, I would recommend going through the ANT+ Android SDK documentation (https://www.thisisant.com/developer/ant/ant-in-android) to ensure you have a clear understanding of the ANT+ integration process.

If you haven't already, try using the ANT+ Plugin Sampler app available on the Google Play Store (https://play.google.com/store/apps/details?id=com.dsi.ant.antplus.pluginsampler&hl=en) to test the compatibility of your Garmin heart rate strap with your phone.

Next, I suggest checking out the ANT+ Plugin API documentation (https://www.thisisant.com/developer/ant/ant-in-android) and the official GitHub repository (https://github.com/ant-wireless/ANT-Android-SDKs) for the latest code examples and libraries. This will provide you with the most up-to-date resources for your project.

https://retrobowl.pro/
     
Rank

Total Posts: 5

Joined 2023-10-26

PM

If you load APK inside SDK or download demo projects from Play store. To limit crashes and display ANT data. Thanks, the restricted Android SDK indeed did the trick. I can now successfully connect to my garmin watch, posing as an ANT+ FE-C device. eggy car