Locus Map - forum

Content & Tools => Add-ons => Topic started by: benuli on March 10, 2015, 18:08:07

Title: Locus Addon HeartRateAlert
Post by: benuli on March 10, 2015, 18:08:07
hi,
some months ago I have written a very simple addon for my personal use, that enables my phone to beep if a specific heart rate is reached. At the moment it only works with android 4.4 or maybe higher... (but I will change that in future).
Installation:
1.In your phone: Settings -> Security -> 'Allow installation of apps from unknown sources'
2.Download and install the apk from this post

Usage and first test:
1. open the app 'Locus - addon...' , the Locus symbol with the heart
2. to test that your phone will beep:
    - enter some value greater than 1 in the field left of ' beep if HR is lower' and check the checkbox at the right and 'Save Settings'
    - open locus pro and verify that there is one real important setting checked: Settings -> Miscellaneous -> 'Enable Periodic updates' , without this, there will be no beep!
   Now you should hear a single beep every five seconds or so.
If you hear that beep it works! (check your system sound settings, if you don't hear anything)
I took the sounds from a heart rate monitor in an emergency station. Maybe I make the sounds configurable, or some vibration...

Now you can activate your heart rate belt and connect it to Locus pro with the Bluetooth Manager and your smartphone should beep, dependend on your current heart rate.
The addon must not run always, it just works in background, the Userinterface is only for setting the alert zones. (if you forget to disable the checkbox 'beep if HR is lower', your smartphone will always start to beep, if you start Locus pro, even without a heart rate sensor in use.

It's my first Android app so be patient with me!
But I will try to help, if you get problems.




(http://s16.postimg.org/ylztestxd/Screenshot_2015_03_10_09_33_48.jpg) (http://postimg.org/image/ylztestxd/)

(http://s16.postimg.org/v13xvkpdt/Screenshot_2015_03_10_16_57_25.jpg) (http://postimg.org/image/v13xvkpdt/)
Title: Re: Locus Addon HeartRateAlert
Post by: ohgood on March 11, 2015, 11:39:30
yesterday, i decided i wanted to track HR, and today, you shared your app. THANKS !

do you have any recommendations for good/cheap HR monitors, and any additional information about whether ANT or bluetooth is better for battery life ?

thanks again, when people write apps, we all LOVE them for it !
Title: Re: Locus Addon HeartRateAlert
Post by: benuli on March 11, 2015, 12:47:05
I use a Bluetooth 4 Sensor from Polar. Battery drain is not the Problem.  My longest use of locus with 2 Bluetooth Sensors active was about 10 hours with display on about 3 hours. The trick was to set my i9100G with CM11 installed in airplanemode and then only activate Bluetooth!
Title: Re: Locus Addon HeartRateAlert
Post by: Calidris on April 12, 2015, 22:41:07
Has anyone tried this on Android 5.0 and Samsung Galaxy S5? Seems it doesn't work for me or I am doing something wrong. I have Garmin ANT+ HRM. Thank you.
Title: Re: Locus Addon HeartRateAlert
Post by: benuli on April 13, 2015, 19:22:35
I'm sorry. I don't have Android 5.
Title: Re: Locus Addon HeartRateAlert
Post by: LALocususer on May 02, 2015, 23:04:49
@benuli Thank you for your contribution :)
Title: Re: Locus Addon HeartRateAlert
Post by: benuli on May 07, 2015, 16:39:07
With moto g 2014 and Android 5.0.2 it works
Title: Re: Locus Addon HeartRateAlert
Post by: radek_9 on July 20, 2015, 15:19:50
Hi.
I can't see a link to download. Thanks for sending. Radek

edit
sorry I found it.
Title: Re: Locus Addon HeartRateAlert
Post by: talybont on September 09, 2015, 20:33:02
That is what I looked for. I will test with Xperia Z3.

edit
It works with Xperia Z3 and Android 5.1.1
Well done!!
Title: Re: Locus Addon HeartRateAlert
Post by: zigzag on January 22, 2017, 10:19:30
Hi,
I have made a very-very simple addon to tell on your heart rate zone changes.

https://play.google.com/store/apps/details?id=com.gilisztaturmixgmail.locus_addon_hr
Title: Re: Locus Addon HeartRateAlert
Post by: Joska on September 22, 2018, 21:47:44
Hi,
I have made a very-very simple addon to tell on your heart rate zone changes.

https://play.google.com/store/apps/details?id=com.gilisztaturmixgmail.locus_addon_hr

Hello (zigzag)

is there any manual, how to start and stop your add-on, how to change between the profiles?
Best regards, Joska