Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

ANT+ on Android 11

Rank

Total Posts: 7

Joined 2017-02-02

PM

hi all,
I am using antpluginlib_3-8-0.aar, which resolved some other issues we had in the past. However, the library does not work anymore with Android 11. Every single user is experiencing the same problem, namely the app reports that the ant plugin etc is not present (even though all the usual apps are installed and everything worked fine with Android 10).

Is there any update or any insight here on what I could do to resolve?

Thank you for your help      
Rank

Total Posts: 1

Joined 2019-05-04

PM

I posted a problem on Dec 19 2019 about the WORLD_READ problem on android 10.
I was sent a library that had it removed. Remember WORLD_READ in shared preferences was depricated in 2005. That library was posted here but never put into production. Yesterday I got the latest ANT+ lib hoping that there was a fix for Android 11 and i find that the android sdk is still from 2015. I am unclear why android is disregarded but I think that is the way it is. I am now re-writing my app to only support bluetooth but really want to have Ant+ and want this group to help more but I am unable to wait 6 years for a change to be made. So, your probably going to wait forever to see a fix.      
Rank

Total Posts: 3

Joined 2016-08-02

PM

I agree, developer support for ANT/ANT+ is very poor. Very few phones actually support ANT and the only thing that seems to get regular updates is the Fit SDK. I do wonder if it is dying, even garmin uses BLE in their products now.

there is a branch of the ANT Android SDKs repository that has changes to the ANT+ SDK in 2019

maybe this will help you      
Rank

Total Posts: 7

Joined 2017-02-02

PM

thank you, indeed I had previously used this, but now it is not working

Anyone at ANT here that cares to comment / help? Thanks      
Avatar
RankRankRankRank

Total Posts: 738

Joined 2012-09-14

PM

Do your users use ANT+ with built-in support or using the ANT USB Service?

I have seen some anecdotal reports that the mobile phone vendor may not have included the ANT HAL Service with their Android 11 patches.

A developer maintains an app you can use to test for this:
https://play.google.com/store/apps/details?id=com.quantrity.anttester