Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - benuli

#1
Add-ons & Co-apps / Re: Locus addon for Pebble
June 23, 2017, 06:38:04
Good Morning, I have the same issues since last locus pro update and I hope I can use my pebble as bike computer at the weekend again... :) ;) :D
Benuli
#2
Works again, thanks!

Gesendet von meinem XT1068 mit Tapatalk

#3
Hi,
with last Version i can not Export tracks to trainingstagebuch anymore.
Login is possible but when i Export there comes an error: locus pro will shutdown.
Export to gpsies works ..

Benuli
#4
With moto g 2014 and Android 5.0.2 it works
#5
I'm sorry. I don't have Android 5.
#6
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!
#8
Add-ons & Co-apps / Locus Addon HeartRateAlert
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.







#9
Thank you, it works. If somebody else wants to have this 'addon' I think I have to remove some 'Hello Worlds' ;-) and make an Icon. It's my first android app, so I have to learn how to publish this app.
#10
Good Morning.
One more question: onReceive(...) is called very often, more than once per second. How to obtain doing the work in my BroadcastReceivers onReceive method for example only every five seconds? I have read that I should not do  long tasks in onReceive. thanks in advance.
#11
thanks! This helps. I didn't know about the shared preferences. I try this way.
#12
Sorry, but I have a basic Android question: I write a static BroadcastReceiver that starts a Sound (with an IntentService or so) if a specific max heartrate is reached. But how to configure this max heartrate? In my static BroadCastreceiver I can't access the TextView of my MainActivity where the user can insert a Max HeartRate...? With a Dynamic BroadcastReceiver there is no problem, but if my Application dies in Background even the dynamic BroadcastReceiver dies...?
#13
good and simple to install API with examples. I wrote some test code in the samples EventReceiver.onUpdate(...) and I can see my heartrate, very nice.
Is it possible to enable Bluetooth 4.0 Heartereate Monitor in Locus with your API, so that I can start TrackRecording and Heartrate Monitoring with one single 'click' in a simple App?
#14
thanks, that would be a nice little project. I hope I get some time...;-)
#15
is it possible to write such an acoustic warning as an extension with LocusAPI? thanks in advance!