tuyndv / mytracks

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

Update to the latest ant+ library #1166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install ANT USB Service 1.1 from Play Store/Market
2. Install ANT Radio Service 3.0 from Play Store/Market
3. Install Mytracks 2.0.2 from Play Store/Market
4. Connect Suunto Movestick mini with a USB 2.0 host cable
5. Launch Mytracks, then click Setting and Sensor.
6. Click on Sensor type. ANT is not listed.

What is the expected output? What do you see instead?
ANT Sensor should be available in mytracks. No ANT Sensor is available.

What version of MyTracks are you using? On what version of Android? On what
phone?
Mytracks 2.0.2 on Android 4.1.1 on Galaxy Nexus

If possible please provide a log by uploading here.
Detailed instructions can be found here:
http://code.google.com/p/mytracks/wiki/HowToReportErrors

Please provide any additional information here:
I have two ANT devices a HRM and a Bike Speed and Cadence device which are 
detected and usable in ANT+ Demo App and Bike Display respectively. So I know 
my ANT sensor is supported by the ANT USB service and ANT Radio Service. 
The most probable cause of this problem is that mytracks is using an only ANT 
library. It should be updated to use new ANT library.

Original issue reported on code.google.com by mka...@gmail.com on 5 Oct 2012 at 10:05

GoogleCodeExporter commented 9 years ago
I downloaded the source and compiled mytracks with Android_ANT_SDK_20120625. I 
then installed the compiled mytracks app on my galaxy nexus and now ANT sensor 
and both my devices are paired and transmitting data to mytracks.
I did not have to make any code change to make this work, just the updating of 
ANT SDK jar file (antlib.jar)

Original comment by mka...@gmail.com on 6 Oct 2012 at 8:30

GoogleCodeExporter commented 9 years ago
I also have this issue, but do not understand the solution. Could you share the 
updated app, please? I am using a galaxy s3 and a suunto movestick mini.

Original comment by guvguv...@googlemail.com on 15 Oct 2012 at 12:13

GoogleCodeExporter commented 9 years ago
I would love to share the updated app, but I'm not sure what the policy here is 
regarding packaging and making the app available at an alternate location. If 
anyone from the project say it is OK, I'll make it available.
If you want to do this on your own and if you have compiled android apps before 
it is pretty simple.
1. Download the Android SDK
2. Use a mercurial client to get/clone mytracks source code.
3. Download the new ANT+ android client library from 
http://www.thisisant.com/images/Resources/Android_ANT_SDK_20120625.zip
4. Get the antlib.jar from the zip file and replace it in the mytracks lib 
directory.
5. Create an public/private key pair to sign your compiled app.
6. Get the Google Map key corresponding to your keypair you created in the step 
above and update it in your ant setup.
7. Compile, sign, package and load it on your device with adb install.

Original comment by mka...@gmail.com on 15 Oct 2012 at 3:39

GoogleCodeExporter commented 9 years ago
We will update the ant library on the next release. We don't have a release 
date yet.

Thanks for reporting and confirming.

Jimmy

Original comment by jshih@google.com on 15 Oct 2012 at 5:37

GoogleCodeExporter commented 9 years ago

Original comment by jshih@google.com on 13 Nov 2012 at 7:18

GoogleCodeExporter commented 9 years ago
2.0.3 is out but issue ont fixed. 

Original comment by pascal.a...@gmail.com on 3 Jan 2013 at 10:18

GoogleCodeExporter commented 9 years ago
I have just downloaded the latest version (6th Jan 2013) and it will not detect 
Garmin HRM or Speed/Cadence. I have rebooted and also  checked other apps which 
are detecting correctlt so the Ant radio service is running and working. For 
example, Endomondo picks up both correctly.
Any suggestions?
Rob

Original comment by robertvb...@gmail.com on 7 Jan 2013 at 10:36

GoogleCodeExporter commented 9 years ago
I've installed 2.0.4 on both my Galaxy Nexus and my Nexus 7 (both used with a 
Suunto Movestick Mini and an OTG adapter), and I still have this problem - 
there is no option in Mytracks to select or connect to an ANT+ sensor.

I would dearly love to have this fixed so that I can record some useful sensor 
data.  I'm no programmer, but if there's some way I could help push this fix 
through, like providing sensors or such, please let me know.

Ben

Original comment by mcc...@gmail.com on 19 Mar 2013 at 1:34

GoogleCodeExporter commented 9 years ago
Still not working with 2.0.4
This is annoying. A single antlib.jar replacement is needed.

Bastien

Original comment by bubblegu...@gmail.com on 20 Mar 2013 at 10:14

GoogleCodeExporter commented 9 years ago
I have also tried to get heart rate sensor working with my Sony Ericsson SK17i 
It does not seem to see the suunto at all when trying to pair.  Mytracks is 
working great, managed to log 9h 54m of track on a recent ride with no faults.

Original comment by nzm...@gmail.com on 20 Mar 2013 at 10:19

GoogleCodeExporter commented 9 years ago
Hello, are you still going to update the ANT library? It was promised "for the 
next release" in October last year... It seems very simple, please make us 
happy and update the library :)

Thanks!

Original comment by p...@sedlacek.biz on 25 Mar 2013 at 1:26

GoogleCodeExporter commented 9 years ago
Just to +1 updating to latest Ant+ library or whatever is needed to get the app 
working with Suunto Movestick. Thanks. Carlos. 

Original comment by carlos.b...@gmail.com on 5 Apr 2013 at 12:03

GoogleCodeExporter commented 9 years ago
As nothing is moving, could you just pull this changeset from my clone:
http://code.google.com/r/bubblegum77-mytracks/source\detail?r=d51efef4c11506838b
82360a4eff8f0ef05babb3
or just update yourself to the new ANT+ lib. _please_
it is only a matter of : 
[code]
wget -O Android_ANT_SDK_20120625.zip 
http://www.thisisant.com/resources/android-ant-sdk-package/ 
mkdir ANTLIB_SDK
unzip Android_ANT_SDK_20120625.zip -d ANTLIB_SDK
cp ANTLIB_SDK//ANTLib/Jar/antlib.jar ./MyTracks/libs/antlib.jar 
rm -r ANTLIB_SDK
[/code]
Thanks

Original comment by bubblegu...@gmail.com on 3 May 2013 at 3:25

GoogleCodeExporter commented 9 years ago
Hi #13,

I cloned your repository and used it to create MyTracks apk. While the app is 
working(no maps, I have still to take care of the MAP API key) and I can now 
see ANT+ sensors configuration, I cannot get my ANT+ HRM to work. I hit "Reset 
heart rate" and nothing happens, it stays as "Not connected".

I have ANT Radio Service 3.4.0(4.0.0 came out while I was testing, but I was 
able to downgraded just in case). My phone is a Galaxy Nexus and I'm using 
Suunto USB stick. I can confirm my HRM is working as I can get data from it 
using ANT+ Demo app.

Any help getting this to work will be highly appreciated,
Thanks,
Carlos

Original comment by carlos.b...@gmail.com on 11 May 2013 at 6:34

GoogleCodeExporter commented 9 years ago
Hi Carlos,
For me, it never shows the sensor if tracking is not started.
But if you start recording, it _will_ be shown under menu->sensors state.
Cheers,
Bastien

Original comment by bubblegu...@gmail.com on 15 May 2013 at 9:11

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

Original comment by jshih@google.com on 10 Jun 2013 at 11:25

GoogleCodeExporter commented 9 years ago
I have updated antlib.jar to the latest in Android_ANT_SDK_20120625. This will 
be in My Tracks 2.0.5 that will be out in a few weeks.

Jimmy

Original comment by jshih@google.com on 12 Jun 2013 at 12:53

GoogleCodeExporter commented 9 years ago
Thank you, Jimmy!

Original comment by p...@sedlacek.biz on 12 Jun 2013 at 8:24

GoogleCodeExporter commented 9 years ago
That's great news.  I'm looking forward to the new version.

Original comment by mcc...@gmail.com on 12 Jun 2013 at 1:27