JasonWongYH / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

Heart rate monitor #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reasonably priced Bluetooth heart rate monitors are beginning to enter the 
market, for example the Zephyr HxM Bluetooth @ $99:
http://www.zephyr-technology.com/9600.0112.html

Some other apps, like SportsTrackLive, already have support for these 
monitors:
http://www.sportstracklive.com/help/android

Would love to see Bluetooth HxM support in My Tracks.

Original issue reported on code.google.com by joeell...@gmail.com on 14 May 2010 at 12:41

GoogleCodeExporter commented 9 years ago
hi matt, thanks for the pointer :-)
i tested during a walk in the park with the kids. first test was fine until i 
started the search widget from the home screen. the phone laged brutally then. 
response time to touch was like 30 secs.:-( had to take out the battery....
the second track was ok - i started no other app to be sure :-)

connection to zephyr was flawless. heart rate statistics do show in the app.

it seems i am to stupid to find the path to the exported tracks... upload to 
google docs didnt work either...

for the record: zephyr hxm, galaxy s i9000 european, froyo final(?) beta ("jp6")
so maybe the lag was an froyo-beta-issue...

br

gp

Original comment by gabriel....@gmail.com on 30 Oct 2010 at 2:43

GoogleCodeExporter commented 9 years ago
I completed a couple walks yesterday. I tried to "Share with friends..." by 
long pressing on the track and selecting GPX. This is how I upload to Strava. I 
didn't get any additional prompts after selecting GPX. I did clear all of the 
data when I did the install of the apk listed above.

Original comment by timm...@gmail.com on 30 Oct 2010 at 3:34

GoogleCodeExporter commented 9 years ago
Hi, I'm not one of the coders, just been doing some testing to help out
where possible. I think this alpha version is just to test the functionality
and stability of collecting the heart rate data (cadence is coming) and
including storing and basic display of these metrics. I've been able to
export the TCX file (which can store the HR and cadence data) and import it
into ridewithgps.com (which I track my rides with) and it displays heart
rate beautifully. I think other features like exporting this extra data to
google maps might be part of a different project such as issue 71 but I'm
not keeping my hopes up for that, its marked as "insane" amount of work. ;)

Original comment by matt...@gmail.com on 31 Oct 2010 at 3:21

GoogleCodeExporter commented 9 years ago
Just tried to test the APK build from comment #38 on my HTC Desire with Android 
2.2.

Unfortunately the app crashes immediately after launch. I can't tell why, and 
there is no way to create a crash report. (Are crash reports only offered when 
an app is installed via the Market?)

I actually was eager to try connecting to the Zephyr HxM which I received just 
yesterday.

Original comment by marian.s...@gmail.com on 13 Nov 2010 at 12:01

GoogleCodeExporter commented 9 years ago
Hi Marian,

Thanks for trying the new version (and also sending a nice UI mocks in the 
other thread).

The APK mentioned here is a little bit old.  The current plan is to release a 
new version of MyTracks (1.0.20) sometime next week and soon after that we are 
planning to work on adding the sensor code to head and releasing a new version 
in the following weeks.

There was one known issue related to upgrading the DB schema from the previous 
version. A workaround is to clear all data (from the Manage App settings) and 
restart the app.  Let me know if it helps.

Meanwhile, if you want you can try to generate a bug report by downloading 
Android SDK and running "adb bugreport" or looking at the logs by running "adb 
logcat".

We may post an updated version of the APK sometime next week.

Bart

Original comment by ba...@google.com on 13 Nov 2010 at 2:02

GoogleCodeExporter commented 9 years ago
After Barts comment I deleted my data on the handset from previous versions. 
Then I was able to start the app just fine.

Today I tested the MyTracks-opensource-bt-sensors.apk "in the field" together 
with the Zephyr Hxm bluetooth HRM. Here is my report. Sorry for the 
verboseness, but I am trying to give as much information as possible.

At first, the "sensor status" just showed a "not connected" status. At that 
time I still had another app running: Zephyr Connect, which is used by the apps 
Runner and SportsTracker to interface with the HxM. (BTW: Tried it with Runner 
and it worked well.)

After uninstalling Zephyr Connect, back in My Tracks, the Sensor Status showed 
that the device is connected to my HRM and it also showed my current heart rate 
at that point. At that point I am not sure whether or not I had to start 
recording a track in order to get to this. If you're interested in my opinion, 
I think it shouldn't be necessary to start recording only to check the HRM 
connection.

Then I went on my running track and started recording. GPS was good, the 
statistics counted fine. BTW: I think heart rate related stats would be great 
in that view once I have a device connected.

I tried opening the sensor status view via the menu, but it never showed up. 
The screen remained black. I could still switch back to the home screen of the 
phone, but in My Tracks, nothing seemed to respond. Going back to the track or 
stats wasn't possible. The "Recording track" status notification still showed 
up.

Back from my track I disabled bluetooth on the phone. Then MyTracks responded 
again. I could see on the map view that it had recorded the track just fine 
until the point where I disabled Bluetooth. Although recording was obviously 
finished, the notification "My Track resording track..." still remained visible 
on the phone.

I exported the track as TCX file (see attachment). As you can see, heart rate 
information is not included in that file.

To sum things up: According to my experience, that build is not yet usable in 
order to record heart rate information.

Device info: HTC Desire, Android 2.2

Original comment by marian.s...@gmail.com on 15 Nov 2010 at 8:06

Attachments:

GoogleCodeExporter commented 9 years ago
You can see why this is not ready for end users.  We will try to polish this up 
and get it out but like we have said elsewhere, stability of the main app is 
our primary concern right now.

Original comment by sandordo...@google.com on 15 Nov 2010 at 3:26

GoogleCodeExporter commented 9 years ago

Original comment by sandordo...@google.com on 17 Nov 2010 at 2:28

GoogleCodeExporter commented 9 years ago
That's cryptic :) Due for version 1.1 or Jan 1st? 

I really like the functionality btw.. its working quite well. Does this version 
have the 1.0.20 alpha codebase under the bonnet or is there another alpha 
coming for those that like being on the bleeding edge? 

@Marian: any further luck with your HTC Desire? I seem to have no problems with 
TCX exports. I've rolled back to stock Froyo so will test again.

Original comment by matt...@gmail.com on 17 Nov 2010 at 2:37

GoogleCodeExporter commented 9 years ago
I have not released an apk based on the 1.0.20 code base. Unfortunately some of 
our fixes for 1.0.20 screwed up the app pretty bad.  We are rolling back some 
of these changes and when that is done I will sync them up and release.  Trust 
me you don't really want 1.0.20 in it's current state.

Original comment by sandordo...@google.com on 17 Nov 2010 at 2:45

GoogleCodeExporter commented 9 years ago
That's bad news. I hope a fix for issue 189 needs a fix soon, its causing a lot 
of "defections" amongst my friends. I love MyTracks when its working reliably, 
it has a small footprint (good battery life) and nice usable feature-set. Good 
luck...

Original comment by matt...@gmail.com on 17 Nov 2010 at 3:17

GoogleCodeExporter commented 9 years ago
@matt.mu No, haven't tried again. I would though if there was a new build.

Original comment by marian.s...@gmail.com on 17 Nov 2010 at 5:52

GoogleCodeExporter commented 9 years ago
I just tested again with the build from comment #38 together with Zephyr HxM 
heart rate monitor.

This time it went better, but I'm unable to export the track as a TCX file. And 
GPX doesn't contain heart rate info.

This time I opened the "sensor state" view before starting recording. It showed 
the "NOT CONNECTED" state. I think we would need a hint on this page that the 
connection is only initiated when recording a track has started.

After I started recording, a toast "Connected to HXM..." (or similar) 
immediately showed up. Nice! Back to the sensor status screen, now everything 
was fine.

Reconrding of a track worked just as expected, plus I now have an additional 
curve in the graph view, indicating heart rate. Unfortunately, the curve and 
the bright yellow type is hardly visible. I would suggest to use a darker color.

After recording, I tried everything to get the track as a TCX file.
- Export all tracks > TCX
- Send to Google
- Share with friend > A TCX file
- Share with friend > A CSV file
- Save to SD card > TCX file
- Save to SD card > CSV file

None of the actions above did anything. Simply nothing happened.

Export all tracks as CSV worked, but as I said, this doesn't give me the heart 
rate info.

Still using HTC Desire with Froyo.

Original comment by marian.s...@gmail.com on 19 Nov 2010 at 9:46

GoogleCodeExporter commented 9 years ago
If you are not getting anything exported please capture a log and send it me.  
There should be an error.

This is definitely a first draft.  I hope to get it out to users ASAP [If 
everything goes well maybe as soon as next week.] My hope would be to get it 
out then iterate with the help of others on some of these features.

Please go ahead and open items to track some of these issues:
- Testing sensors without starting recording a track.
- Viewing sensor information on the stats screen.  => I think this will fall 
into the larger configurable stats screen issue.
- Viewing the hr on the chart screen.  It is quite an understatement to say 
that the yellow color is less than ideal.   I already used red for power and 
purple for cadence.  I could not decide if it makes more sense to choose the 
highest contrast colors for the variables displayed, or to try to stay 
consistent with colors.

Original comment by sandordo...@google.com on 19 Nov 2010 at 2:45

GoogleCodeExporter commented 9 years ago
As I understand this main task is kind of already done, just needs merging + 
tons of testing.

Original comment by rdama...@google.com on 22 Nov 2010 at 10:31

GoogleCodeExporter commented 9 years ago
Rodrigo can you double my clone.  It is merged up to head and I think it is 
ready for submission.  I still want to add a ton of tests.

Original comment by sandordo...@google.com on 27 Nov 2010 at 6:33

GoogleCodeExporter commented 9 years ago
Here is an updated apk with Zephyr support.  I will also submit the code to 
head very soon.

Original comment by sandordo...@google.com on 30 Nov 2010 at 6:01

GoogleCodeExporter commented 9 years ago
Thanks for your work.
Attached is a log file.
- I can export all tracks only as a gpx file
- cannot send to google docs
- hr curve is still in yellow

Device info: Nexus One  Enomther's TheOfficialNexus1-v.2.14.3 Using 
MyTracks.apk from Comment 67

Original comment by hjkartm...@gmail.com on 30 Nov 2010 at 12:19

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the quick testing.  A better apk should be attached.
- The export all for tcx and yellow curve are both in other issues.

I fixed the send to docs and bunch of other broken issues.

Original comment by sandordo...@google.com on 30 Nov 2010 at 4:19

GoogleCodeExporter commented 9 years ago
I pushed the changes to head.  Please file any issues you find as new issues.

Original comment by sandordo...@google.com on 2 Dec 2010 at 4:41

GoogleCodeExporter commented 9 years ago
Issue 250 has been merged into this issue.

Original comment by rdama...@google.com on 27 Dec 2010 at 3:26

GoogleCodeExporter commented 9 years ago
Hi,

I've recently started using My Tracks and love it!. I've been researching 
solutions to track my running and have been using an old polar hrm and carrying 
my phone separately to track the routes. In the near future (a week or two) I'm 
intending to purchase a bluetooth hrm and really want to integrate my GPS and 
heart rate into My Tracks.

I've downloaded the apk's from above but have a quick question. Does the apk 
for bluetooth support (#38) need to be installed in addition to the apk in #69? 
Does the apk in #69 only support Zephyr, or will other bluetooth hrm's work as 
well.

I'm just an end user but would like to offer to test if it would help. I'm 
running an HTC Hero v2.1 and as I mentioned, am just in the process of making a 
purchase decision for a bluetooth hrm.

Thanks so much. Awesome work going on here!
Jacqui

Original comment by jacqui.g...@gmail.com on 10 Jan 2011 at 2:43

GoogleCodeExporter commented 9 years ago
The best way to test this is to build an apk from head.  There have been some 
changes beyond what has been mentioned here.  We will probably build a release 
candidate soon which you can test with.

We only support Zephyr and ANT+ on a few select phones.

Original comment by sandordo...@google.com on 10 Jan 2011 at 4:24

GoogleCodeExporter commented 9 years ago
Thanks, I'll keep my eyes out for it. I also have a Dell Streak that I could 
test on but it's stuck on v1.6 until Rogers sends down the update. Maybe I 
should hold off on buying my new hrm until either ANT+ or bluetooth are worked 
out? My preference at this point in time is to go with bluetooth.

Original comment by jacqui.g...@gmail.com on 10 Jan 2011 at 4:32

GoogleCodeExporter commented 9 years ago
Bluetooth support appears in Android 2.0, so 1.6 won't cut it.

The Zephyr HrM has been used successfully by people with a number of
different phones. Search through the issue 9 thread and you'll find some
specifics.

As far as I know, there are still no Android phones on the market that have
ANT+ support both in the hardware and activated in the firmware. This is an
issue that's beyond the developers' realm; it has to be done by the phone
manufacturer/vendor. (Once again, search the thread for lots of info.) So
cross your fingers but don't hold your breath, and if you want HrM any time
soon, go with bluetooth.

By the way, I highly recommend the Zephyr unit.

Original comment by joeell...@gmail.com on 10 Jan 2011 at 5:48

GoogleCodeExporter commented 9 years ago
"With the release of Xperia™ arc, Sony Ericsson is the first handset 
manufacturer to have integrated support for ANT+. The ANT+ support will also be 
introduced in Sony Ericsson Xperia™ X8, Xperia™ X10 mini, and Xperia™ X10 
mini pro through software upgrades in Q1 2011. Several future Sony Ericsson 
Android™ devices will also support ANT+ technology." 
http://blogs.sonyericsson.com/developerworld/2011/01/06/use-your-sony-ericsson-p
hone-with-ant-enabled-health-and-fitness-products/

Original comment by ken.back...@gmail.com on 10 Jan 2011 at 11:34

GoogleCodeExporter commented 9 years ago
I didn't realize the Xperia announcement went out.  We have been testing ANT+ 
on X10's for a while.  It is really nice.  I think it is far superior to the 
Zephyr hrm.  The next release of My Tracks should work nicely with the next 
release of the xperia firmware.

Original comment by sandordo...@google.com on 10 Jan 2011 at 5:18

GoogleCodeExporter commented 9 years ago
Ok, ordered a Zephyr and can't wait to get it! Should I use the app v1.0.21 or 
the apk in comment #69? Thanks.

Original comment by jacqui.g...@gmail.com on 12 Jan 2011 at 3:23

GoogleCodeExporter commented 9 years ago
I would not suggest using any of the apk's on this thread.  We have moved quite 
a bit ahead of those.  We will post 1.1 release candidates soon. [Like a week 
or so.]

Original comment by sandordo...@google.com on 12 Jan 2011 at 6:53

GoogleCodeExporter commented 9 years ago
While I'm thrilled to see ANT+ entering Android thanks to SonyEricsson, I am 
equally disappointed by the compromise consumers face with SE's product specs. 
Read this: 
http://www.xperiax10.net/2011/01/06/official-xperia-x10-family-will-not-receive-
upgrade-to-froyo-or-beyond/ Sorry, that news effectively keeps me looking for 
an ANT+/Android solution.

I will be at Mobile World Congress next month, Qualcomm's booth throughout, 
discussing and demonstrating wireless sensor technologies surrounding mHealth 
and mWellness. Stop by and say hi if you're attending. Otherwise, you can 
follow at my blog, http://runningdigital.com

-David

Original comment by djh.sthlm on 13 Jan 2011 at 11:08

GoogleCodeExporter commented 9 years ago
Rec'd my Zephyr and have started playing with it! I know you suggested not 
using an apk from the thread but I couldn't resist ;-)

In the meantime - HTC Hero v2.1 w/Zephyr Hxm and v1.0.21 apk connects and 
records without a hitch :-) I saw an earlier comment regarding heartrate data 
not exporting with any file format. I am also experiencing this. 

Thanks again for the great work on this! I will keep my eyes posted for the 1.1 
release candidate...

Original comment by jacqui.g...@gmail.com on 15 Jan 2011 at 6:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This bug is not the place to have this discussion.  Please ask on 
mytracks-dev@googlegroups.com

Original comment by simmonmt@google.com on 16 Feb 2011 at 12:01

GoogleCodeExporter commented 9 years ago
Does MyTracks record the other sensor data from the Zephyr like the 
steps/caddence or just heart rate?  Sorry if this is a stupid question but I 
seen lots of talk about the hrm but not the other info that the zephyr can 
transmit.
thanks

Original comment by skifast...@gmail.com on 20 Apr 2011 at 5:56

GoogleCodeExporter commented 9 years ago
Mytracks is a pretty cool application.  I am looking forward to seeing my next 
50K on the app.  I got some really cool GPS from 
http://www.givenbrand.com/gps-watch.html

Original comment by andrewmg...@gmail.com on 8 Sep 2012 at 8:25

GoogleCodeExporter commented 9 years ago
I have a MOTOACTV rooted and ROMed with ANT+.  I have installed MyTracks and it 
works great, however I cannot access my ANT+ hr monitor, how can I enable it to 
see my ANT+ devices?

Original comment by bradley....@gmail.com on 6 Apr 2013 at 3:48