Knowledge Base/Community Forums/Android OS

Answered

Alternative App for Strava datalogging with ANT support.

ifor Powell
asked this on March 31, 2012 11:26 AM

I just added direct Strava upload support to my biking app IpBike.

https://play.google.com/store/apps/details?id=com.iforpowell.android.ipbike

If you want to have an app that you can actualy use as a bike computer and still have easy upload to Strava then give it a go.  Added benefit is that you get ANT+ support and barommetric based altitude if your phone is compatible.

The Apps beta at the moment and I realy need some more people to try out the Strava upload support.

 

Comments

User photo
Vincenzo A.

Very good Software, i think that at this moment it is the best app to use ant+ enabled  android phone on the bike.

April 11, 2012 06:05 AM
User photo
Marco Budding

please add feautures so that it can import GPX or KML files and that the program shows text en audio how to follow the route, like audio: as "within 100 meters go left". A sort of GPS navigation but with audio export and the possibility to imort an GPX and/or KML file. It is necessary that the program can say it in audio and not only text because my phone will be in my backpack. If I'm right then there are only a few apps that can do that like: BikeComputer Pro , OsmAnd , AllsportGPS, Orux , RidewithGPS and RunGPS, but I'm not sure about them all. I and I know a lot people like to see it in Strava and Ipbike.

 

May 18, 2012 07:48 AM
User photo
Paul Harman

What is the gps reading interval?  I believe Strava is every 4 seconds, which means @ 15mph, 4 seconds works out as 26.82 metres before the next reading is taken. On a singletrack this is a big difference

May 31, 2012 02:39 AM
User photo
ifor Powell

IpBike logs the data at second intervals internaly.  I just upload it like this to Strava.  I don't know how Strava treat it after that.

The default 4 second interval for the standard apps always struck me as rather large.  The fact that there is aparently no interpolation used for start and end times makes all the timeing very slopy for small segments.

May 31, 2012 03:07 AM
User photo
Paul Harman

Nice one, is that on a timer or the interval parameter of requestLocationUpdates()?  As I understand it, Android sends gps data to LocationManager as soon as it has a gps change, so I assume you can set the interval to 0 and monitor for changes?  Still very much a newb at android dev, but looking in to it.

May 31, 2012 03:51 AM
User photo
ifor Powell

The data is recorded off a timer.  I essentialy just log the last data I have at that point in time from all the sources, e.g. the last location I had, the last speed, hr, cadence, power. etc.  With the pressure sensor I have been accumulating data over the second and do the nessasary conversion work to get a new altitude only once a second.  This is not entirly accutate but for the frequency of change for this sort of data perfectly good and very simple to implement.  The LocationManager is set up to provide updates once a second but I don't enforce any relationship with the recording timer. If the gps data gets a bit jittery then you may get the same location twice or miss a location but in practice this looks not to be very common.

May 31, 2012 04:13 AM
User photo
ifor Powell

The data is recorded off a timer.  I essentialy just log the last data I have at that point in time from all the sources, e.g. the last location I had, the last speed, hr, cadence, power. etc.  With the pressure sensor I have been accumulating data over the second and do the nessasary conversion work to get a new altitude only once a second.  This is not entirly accutate but for the frequency of change for this sort of data perfectly good and very simple to implement.  The LocationManager is set up to provide updates once a second but I don't enforce any relationship with the recording timer. If the gps data gets a bit jittery then you may get the same location twice or miss a location but in practice this looks not to be very common.

May 31, 2012 04:42 AM
User photo
Paul Harman

Also, how do I manually export/ upload a ride?

May 31, 2012 07:48 AM
User photo
Paul Harman

Dw, found it :D

May 31, 2012 07:58 AM
User photo
Paul Harman
May 31, 2012 08:07 AM
User photo
Paul Harman

I've cropped it now.  Looks like it didnt have gps signal when it started, and put me over in africa somewhere

May 31, 2012 09:14 AM
User photo
ifor Powell

I normaly go start sensros when I get the bike out and mount the phone then the gps has time to get a good fix while I generaly get myself ready.  When I am ready I check the gps icon to see it has a good fix before going start trip and setting off.  If you go start trip before the gps has a fix you get the last knowen gps location which if you have recently restarted the phone is 0, 0 which is in the atlantic south of Africa...  That first start of the gps after a reboot of the phone for any reason can take considerably longer than subsequent starts.

May 31, 2012 09:59 AM
User photo
ifor Powell

I made an IpBike Strava club if anyone using IpBike is interested in signing up for it.

May 31, 2012 10:00 AM
User photo
Paul Harman

I signed up to Strava with facebook connect.  Will direct upload work with your app?  I've tried my fb details but it says the credentials are wrong.

June 01, 2012 02:28 AM
User photo
ifor Powell

The API I use to upload to Strava means I have to login with users email address and password.  You look to be able to adjust these from the user admin pages in Strava.  I can see the email address I have setup and there is an option to change the pasword.  Hopefully if you login with facebook you will still be able to set somthing up.

June 01, 2012 03:29 AM
User photo
Aushiker ...

I cannot see to be able to find a way to login to Strava from IPBike. I have Strava on the phone as well and I am logged in there.  Am I missing something?

June 23, 2012 04:00 AM
User photo
Aushiker ...

Please disregard my comment. Found the instructions :)

June 23, 2012 04:05 AM
User photo
ifor Powell

As of IpBike version 1.0.1 you do not need a phone with built in ANT support to get access to sensor data.  It is now possible to use a USB ANT Stick if your phone is capable of USB Host mode.  I have put some details on my website.

http://www.iforpowell.com/cms/index.php?page=usb-ant-stick

June 29, 2012 09:02 AM
User photo
S- Curvy

Your comments discuss ANT+ support.  Many of us use Suunto HRM's which unfortunately only have ANT, not ANT+.  We all would be thrilled if there was some form of straight ANT support that would dovetail w/ Strava, and I naturally suggest you start w/ the Android side of things since that's what I use for Strava ;-)

October 10, 2012 01:28 PM
User photo
ifor Powell

I would like to add support for Suunto sensors  into IpBike but they do not publish the necesery detsils about there useage of the ANT protocol for me to be able to recive the data from them.  If you can point me at the information or persuade Suunto to publish it I would be very greatfull but the way things look to me at the moment Suunto do not want to interoperate.

October 10, 2012 04:26 PM
User photo
Sergio G.

LOST RIDES, STRAVA CRASH BACK TO ENDOMONDO.

December 08, 2012 03:15 PM
User photo
Odd Nordahl

How is 1 second interval vs 4 seconds affecting the battery life? What about having Ant+ sensors enabled?

 

I'm considering buying an Android with Ant+ support instead of a Garmin Edge. Battery life is the major concern. Have you timed your apps running time if all other parts of the phone is optimized? (Flight mode, low light in display etc etc)

April 29, 2013 01:26 AM
User photo
ifor Powell

ANT recording and the 1S interval I think are a none issues battery wise.  Screen on and then brightness level is the biggest factor by far followed by the gps being on.  Online maps can be costly battery wise but I support a couple of offline options to overcome this.  I have been doing up to 5 hours rides with the screen at 25% on all the time with my Xperia Active over the winter without an issue.  Longest ride I have done is 8.5 hours but generaly I had the screen off for this just switching back on only when unsure of the route.  I had taken a spair battery but did not need it.

April 29, 2013 11:07 AM
User photo
ifor Powell

Sadly Strava have closed the API that IpBike was using so unfortunately direct upload in not currently possible.  Please see http://www.iforpowell.com/cms/index.php?page=strava-trouble for an explanation.

July 03, 2013 01:18 PM
User photo
ifor Powell

Should of posted sooner here.  I got access to the new V3 API so IpBike now has direct Strava upload support added back in.  I am busy adding Bluetooth low energy sensor support to add the ANT+ support.  There is a beta for anyone that want to give it a go. 

http://www.iforpowell.com/cms/index.php?page=btle-beta

August 18, 2013 12:47 PM
User photo
Alex Simpson

I'm just waiting for an update that apparently provides ANT+ support to my device (Galaxy S3), which is starting to be rolled out.

Does this app allow for "stationary" recording with just ANT+? I turn the GPS off with the Garmin and when I upload to Strava it works okay and detects it as a stationary trainer. When I use the Strava mobile app, GPS off doesn't seem to work and I get a shaky random signal as I'm indoors.

November 04, 2013 10:13 AM
User photo
ifor Powell

IpBike will record stationary rides no problem just using your ANT+ sensors.  There is a per bike setting 'Stationary / Indoors' which means it want try starting the gps and will log no altitude gain in among other minor tweaks.

Uploading them to Strava with the old API it was not working correctly but I believe it's OK with the new API although I don't personally do indoor training so don't get to test it regularly.  Saving as a file and uploading it manually I know works as that was the workaround with the old API.

November 04, 2013 11:50 AM