hrv-band
hrv-band copied to clipboard
Check if Ant+ Plugin Service is installed
If Ant+ Plugin Service is not installed and the user wants to connect his Ant+ device notify him and guide him to the app in the play store:
- detect if installed: http://stackoverflow.com/a/28175210
- take him to play store: http://stackoverflow.com/a/11753070
https://github.com/ant-wireless/ANT-Android-SDKs/blob/master/ANT%2B_Android_SDK/Sample/ANT%2B%20Plugin%20Sampler/source/src/com/dsi/ant/antplus/pluginsampler/heartrate/Activity_HeartRateDisplayBase.java
Just figured out that ANT+ SDK already detects whether the plugin service is installed or not. We just dont show it.