yashsingh1/xdaforums huggingface dataset:
[Other SmartWatches] stoudamire:
Thanks for the tip with TCX export on the portal. This feature would have been a great help, if this had been possible two months before when I exported all my data to another portal. :crying:

It´s strange that you experienced a battery drain with alternative launchers. I have ADW and the stock launcher installed simultaneously since this app was launched and I have not experienced any changes in battery life.

Some words to my setup: I installed a patch from dproldan which enables the launcher selection by double-pressing the power button. Then I installed dropbox and put a shortcut for WIFI settings and dropbox on the ADW homescreen. After each run, I switch on WIFI manually and then upload the workout file to dropbox. The whole process takes me about 30 seconds (after getting used to the single steps).

Regarding the automatic sync function, you may try out dropsync (https://play.google.com/store/apps/details?id=com.ttxapps.dropsync&hl=de).
[Other SmartWatches] memtd:
I still like this app better than the export from Motorola. The data matches what my watch says so I'm not concerned about the file sizes. It's nice being able to grab the files right off the watch instead of having to download them off the website.
[Other SmartWatches] superdave:
Im not really sure how the portal could have more data then the exporter since I export all the data that is on the watch for a given workout. I have been a bit spread thin lately, but, hoping to get a version out this week with some of the requested changes.

I can also add developer options to the Settings APK if that is desired.

,Dave
[Other SmartWatches] :
Thanks, Dave

I finally rooted my MotoACTV last night just to install your app. I converted all of the workouts still in the device's memory and uploaded them to Strava without a hitch.

I took my first run with the app today, and this is going to be a huge winner for me. When I travel, I usually have a hard time finding a wifi signal to upload runs, and I cannot install motocast on my work laptop, so I'm usually stuck with the runs on the devices until I get home (not a huge deal, I know... First World problems).

Now I can plug the device into my work laptop on the road, go to the Strava upload page, and pull the run directly from the device onto the Strava portal.

(Just to be sure I understand it correctly: this will only work if I use the adb stop command from my home computer and then leave the device on throughout the trip, right? If I shut it down and reboot while I'm away, I'll restore the device to an adb-only mode and not be able to see it in mass storage mode, right?)

Now the moto guys can shut their portal down. I'm all set! Thanks, Dave. (And thanks for putting the donation button in your profile... I hope you're getting a lot of traffic there.)

And thanks to all of the other users who tested and provided formatting feedback.
[Other SmartWatches] stoudamire:
That is correct. You could also transfer the file via BT if your laptop does have BT.

Not a good idea. I stell need the planning function for my intervals. :)
[Other SmartWatches] engmex:
I've been using this app for a couple of months now I all I can say is it's absolutely brilliant. I no longer use the Motoactv portal apart from the odd interval planning and upload all my runs to Endomondo, which I much prefer. One question I have though, and it's not a complaint, is why is there always a slight time difference between the tcx file and the motoactv portal. For example here is a recent 10k run.

Motoactv portal reports:

Duration: 0:49:17 Distance: 10.02(km)

1	1.00 km	05:32	5:33 min/km	174 steps/min	58 cal	132 bpm

2	1.00 km	03:39	3:39 min/km	196 steps/min	64 cal	165 bpm

3	1.00 km	05:43	5:43 min/km	172 steps/min	73 cal	148 bpm

4	1.00 km	03:56	3:56 min/km	191 steps/min	71 cal	172 bpm

5	1.00 km	05:59	5:59 min/km	172 steps/min	77 cal	149 bpm

6	1.00 km	03:51	3:51 min/km	195 steps/min	72 cal	175 bpm

7	1.00 km	05:51	5:51 min/km	172 steps/min	82 cal	158 bpm

8	1.00 km	03:53	3:53 min/km	194 steps/min	73 cal	177 bpm

9	1.00 km	05:55	5:55 min/km	174 steps/min	88 cal	162 bpm

10	1.00 km	04:45	4:45 min/km	184 steps/min	80 cal	170 bpm

And the same on Endomondo TCX

Running Distance	10.02 km Duration	49m:11s

1	1.00 km	05:35

2	1.00 km	03:39

3	1.00 km	05:42

4	1.00 km	03:58

5	1.00 km	05:58

6	1.00 km	03:52

7	1.00 km	05:50

8	1.00 km	03:53

9	1.00 km	05:56

10	1.00 km	04:45

A 6 second difference. Anyone know why?
[Other SmartWatches] MadManX:
If you look at the split times, they are different (a second here, a second there). I'm betting its rounding. The TCX has milliseconds in it as well, so one may be rounding up, and the other down or cutting it off all together.

-MadManX
[Other SmartWatches] engmex:
I'm not sure about that. First I have all my runs going back a few weeks and the TCX is always slightly less than the motoactv portal, which would support your theory that that the Motoactv portal always rounds up whilst the tcx converter always rounds down. However, sometimes the indidual laps are longer on the tcx file e.g lap 1 in the example I posted was reported as 5:32 by Motoactv and 5:35 by the TCX converter. Additionally that's a 3 second difference so if it were rounding you would not expect the difference to be greater than a second.
[Other SmartWatches] stoudamire:
Check out this article from DC Rainmaker: http://www.dcrainmaker.com/2009/03/racing-line-understanding-how-courses.html

---------- Post added at 03:59 PM ---------- Previous post was at 03:53 PM ----------

Another finding:

The app has a little bug if your workout includes a pause or more (i.e. if you have to stop your workout at a traffic light). Contrary to the MotoACTV itself, it counts the time in pause to the workout time. I had not realised this until I recently moved to another town. It´s actually not a big issue as I just correct the workout time manually, but maybe a quick fix is possible.
[Other SmartWatches] engmex:
Well the DC rainmaker article is very interesting and explains how a half marathon I ran a couple of weeks ago was measured as about 200m over by my Motoactv. But it doesn't explain the time difference. On a recent 38k run I had to pause the workout for 7 mins (call of nature). The TCX converter did not include the 7 minute pause in the total time, however the individual lap which included the pause had the 7 minutes added.
[Other SmartWatches] stoudamire:
Well, the article actually does. :)

Quote from the article:

Finally, there’s actually one additional explanation. Different software programs use different algorithms to determine how far you ran between GPS track points. Your GPS file is actually a bunch of ‘track points’ – like a breadcrumb trail. And software (either on the device itself, or your desktop) interpolates all that and determines how far you ran. Some software is smarter than others, and can remove erroneous data points (for example, going into a tunnel you occasionally get incorrect data points on the exit from the tunnel). So I often see cases where my Garmin on the watch will say one thing, and on Sports Tracks it will say something else. Generally Sports Tracks is smarter though… Obviously if you have a foot-pod based system (i.e. many Polars), then the GPS variance won’t apply – but running the wrong line still does.

As GPS data includes both positioning and time data, you get an idea why the data is different. For instance, the time on the device will never be as exactly as an atomic clock.
[Other SmartWatches] engmex:
Sorry I missed that bit. So basically this would mean either the TCX converter and/or Motoactv portal are getting the time data from the gps satellite, and not the Motoactv watch.
[Other SmartWatches] memtd:
I was out on my motorcycle tracking my ride with the MotoACTV and eventually the battery died. The export never ran so I had to fire up the app using adb. Not a big deal but maybe there's some way to have it check to see if it exported the most recent activity.
[Other SmartWatches] wolly72:
Importer?

Is it planned to create also an "Importer" to transfer existing routes or tracks to the MOTOACTV?
[Other SmartWatches] MadManX:
I found a "bug" of sorts... Both with TCX Exporter and with the Moto Site. For a long event (in my case a 50mi bike ride). When my ride ends at my house, it seems it begins syncing with Moto while TCX Exporter is saving to the sdcard. Problem is, it got significantly cut off. I've noticed this a few other times with some longer runs as well. Wasn't too much of a problem since the Moto site allowes TCX downloads now. Except for my 50mi ride (or any other very long ride). It appears their site has some sort of even size limit (about 4.5mb i think) to export. The latest CSV exports are crap, they won't convert in the web converters.

So, is there a way for TCX Exporter to prevent syncing until its done exporting the data? I've now totally lost this ride from my training log.

-MadManX

---------- Post added at 03:45 PM ---------- Previous post was at 03:42 PM ----------

Oh, one other bug, workouts are overwritten on the sdcard. Looks like the number sequence recycles and just starts replacing old workouts. It might be best to name each file with a timestamp or something other than a looping counter.

-MadManX
[Other SmartWatches] schmod:
Is there any chance that you could release the source code of this tool?
[Other SmartWatches] superdave:
Sorry for being so absent, its been a busy couple months. I was hoping to get another version out by now. I really want to get syncing to other sites going. If I cant get something going shortly I'll release the source so maybe somebody else can pick it up. Its really not that much, but, may help someone get started.
[Other SmartWatches] superdave:
I have the app now auto posting to runkeeper and Facebook through runkeeper. It still needs some heavy testing, but, working good so far. If there is any interest I can post a beta version. Not sure how many people are still checking this thread.
[Other SmartWatches] engmex:
Although I use Endomondo I'd be happy to test the Runkeeper beta version.
[Other SmartWatches] seveng:
I can't provide feedback on runkeeper, but I log mountain bike rides on endomondo and strava. The latter allows you to email TCXs, and supposedly has an API, but I've never got a chance to dig for it.
[Other SmartWatches] atsic:
R: MOTOACTV TCX Exporter

Id like to test it... i think anyway it doesn't affect the sync with motoactv portal right?

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Other SmartWatches] stoudamire:
@Superdave: Have you ever had the chance to take a look at this issue?
[Other SmartWatches] memtd:
The one change I'd really like is the using a timestamp in the file name. Other than that I have no real issues with the program.

I typically use SportTracks locally and Garmin Connect if I want to share with my friends.
[Other SmartWatches] seveng:
Yeah, another vote for the timestamps in the file name. Whenever I quit being lazy and script my imports I'll use the file's mtime, but I also archive my tcx's and don't want to have to worry about numbers rolling over or listing out of order.
[Other SmartWatches] superdave:
stoudamire,

I missed that one, but, will look into whats happening there.

memtd,

I'll have that in the next release.

I should have a version up this week with the file name changes and the runkeeper/facebook posting as an option for testing. It looks like strava has an api and also uses oauth so that should not be to much to implement as well. I don't see anyway to get to Endomondo yet, but, maybe im just missing it. As always the app does not effect your current posting to motactv. It waits for a workout complete and then for the motoactv to enable wifi and attempt to sync its data. When that occurs it will post the other sites.

,Dave
[Other SmartWatches] rogueturnip:
Brilliant!

Thanks for building this enhancement! My feeling it was the #1 missing feature from the MotoACTV.

One feature request, any chance that you could add on export to Google Drive? Be great if the files could be put into the cloud when they are created.

Thanks again!
[Other SmartWatches] seveng:
If you've rooted your ACTV you should be able to add Drive no problem. The only feature request I could think of applies to Dropbox for sure, but maybe not Drive (never used it, so can't say). I might be useful to be able to define where the TCXs are written to at export time. That would save you from having to sync everything on your device up to your storage provider.

I'm waiting to see what BitTorrent does with their sync client once they get on android, as I prefer not to store things on someone else's disks.
[Other SmartWatches] superdave:
Im working on a settings page for it to allow some options, path can be one. Both Drive and Dropbox should be fairly simple to implement since they both can be accessed using Oauth. The scribe oauth lib im using actually has both of them built in.

,Dave
[Other SmartWatches] rogueturnip:
Just curious if you were able to get a new version done this week. Not to be a pest but I was only curious.
[Other SmartWatches] superdave:
Just posted a new version, 1.8. The auto posting features are still considering in testing, but, are working good so far. Still have a known issue remaining with workout pausing. When enabling the new features be sure you are somewhere that you have paired wifi. This is need to get your auth tokens. I posted the new version as a zip, extract it and install to update. I did this in case there were major issues you could always downgrade to 1.7.

Thanks,

Dave
[Other SmartWatches] engmex:
Hi installed 1.8, but now no workout is written to the motoactv root. Downgraded to 1.7 and that is now no longer writing the .tcx file either. Tried running the motoactv-export from settings, but it crashes. Tried running from adb I can select the workouts

and it goes through the process of writing but no file appears. Have to go to work now so will have to investigate further later. Any suggestions in the meantime? Also where are the new export to dropbox etc settings? I cant seem to find them anywhere
[Other SmartWatches] superdave:
Cant see why downgrading wouldn't have worked. Did you try restarting the watch. Looks like I have a bug in the manual export code that requires it to connect to wifi before it continues. So if your not near your router it wont export. Starting and stopping of a workout should still trigger it fine though. The settings can be accessed by clicking the button you have mapped to Menu then clicking settings. I'll have a fix for the manual export shortly.
[Other SmartWatches] superdave:
Posted version 1.9 correcting the above issues.

,Dave
[Other SmartWatches] engmex:
Hi Okay I have 1.9 installed and most of the problems seem to be sorted. Actually wasn't your app, but me! First I had the USB plugged in and was testing using an indoor workout. The export in the setting crashes if the USB is plugged in. Second I'm on Linux and the particular file manager I was using wouldn't update the list to include the recently written files even after remounting it. Don't know why! accessing the dropbox settings etc are a problem because I haven't remapped a key. I don't want to remap a key because I'm using all the keys. I need the music key because I use it and I don't have the Motorola headphones so I can't control the music without it. Is there a way round this?

Btw many thanks for this app, I've been using it for a few months now without problems.

Edit: Just wondering if there is anyway I can launch the app settings from adb?

okay should be this: adb shell input keyevent 1

but nothing happens!
[Other SmartWatches] superdave:
Uploaded version 1.10. You can launch settings from the main form now.
[Other SmartWatches] engmex:
Very nice, Thanks I'm checking it out!
[Other SmartWatches] MadManX:
Has the issues with long workouts creating bad TCX files been corrected? ... I'm still on 1.7, but any workout at or over 2 hours does not export correctly, it is always clipped, missing a large portion of the data and creating an invalid file (Runkeeper, Endomondo, etc will not read). Also, it would be nice if the TCX also included max HR and would be even cooler to allow either selecting, or entering in a know power curve for a trainer on indoor cycling workouts.

-MadManX
[Other SmartWatches] stoudamire:
FYI: There is a keycode which has no function in the MotoACTV which is triggered when double-tapping the start button.

Dproldan made a flashable zip to change the keycode to HOME which enables you to use a secondary launcher (http://xdaforums.com/showpost.php?p=26619299&postcount=2100).

Nevertheless, you can also change it to MENU.

I´ve been using this tweak to manually upload my workouts to Dropbox with the help of a secondary launcher and the original dropbox app. If I need the MENU button, I manually start button saviour. At the same time, the MotoACTV still has all its original functionality.

---------- Post added at 10:47 AM ---------- Previous post was at 10:39 AM ----------

Thanks for looking into the issue with paused workouts.

The new auto posting feature sounds really promising. Will this have any effect on battery life? Is it constantly trying to sync with dropbox?
[Other SmartWatches] engmex:
Is this with cycling workouts? I haven't had any issues running, Did a 3:33 marathon in December with no problems!

---------- Post added at 02:53 PM ---------- Previous post was at 02:47 PM ----------

Thanks! 1:10 now has settings included so no need for the key remaps. I've tried 1.10 with Dropbox and Runkeeper, and it works perfectly. Thanks SuperDave! Just wondering if you can fix my Plantar Fasciitis too!
[Other SmartWatches] superdave:
MadManX,

I have not seen that, will look into it though. If you have an activity db that you would mind sharing, it would help a lot.

stoudamire,

Except for when manually exporting I let the Motoactv determine when to turn on/off the wifi and only get notified when it does. There should be no difference in battery life.

engmex,

Try not running on pavement, that eliminated my IT band issues. :)
[Other SmartWatches] MadManX:
I'll try to get those to you in the next couple days (work and training this week)... The TCX is just cutoff, but it uploads to MotoACTV... Problem is, MotoACTV won't export it as a TCX, only a CSV (which has all the data).

-MadManX
[Other SmartWatches] rogueturnip:
I can validate this finding too. It seems to happen with anything over around 2 hours. The TCX is cutoff and MotoACTV only exports the CSV.
[Other SmartWatches] stoudamire:
Just an idea. Have you ever tried to overwrite the tcx-file within the app for such a workout?

BTW: I tested the new version today and the upload to Dropbox worked perfectly. Nevertheless, the set-up process was a bit of a problem as the MotoACTV freezed a couple of times.
[Other SmartWatches] superdave:
Was the freezing a white screen while the auth screens were loading? Like the one right after you select a service? I have to use a webview to launch the auth url and receive the tokens. There's a couple of back and forths there that currently leave the browser window open just blank. I could probably add a loading dialog to that. There could also be a delay if it had to turn wifi on. The current process (just for testing) is to enable wifi then go into a loop until the internet connection is valid. That process needs some work and timeouts just wanted to get something out there to start testing the apis. Those would only occur during the manual export and the settings change. The actual posting is not affected by those since the export service does not control when wifi is turned on. It just waits for the notification that Motorola's services turned it on.
[Other SmartWatches] engmex:
Unfortunately I'm getting excessive battery drain with version 1.10. I don't know about during workouts, but certainly when it's on standby at home it is going from a 100% charge to 5% in about 12 hours. I guess the app is constantly connecting to my wifi.
[Other SmartWatches] superdave:
Are you using any of the wifi connected features? The app will definitely not connect on its own when a workout ends, but, will turn on wifi when a workout is manually exported. Currently after a manual export it does not turn it back off. From my observations the watch manages that state on its own and turns it off. It may be a difference in the rom we use. I can add an option that turns wifi back off when manual export finishes. As a test can you restart the watch and see if your battery drain still occurs without doing a manual export.
[Other SmartWatches] memtd:
I just installed 1.10 and setup Google drive. I ran a manual export of one activity and found it (with timestamp in filename) on both the watch and Google drive. Pretty cool!
[Other SmartWatches] engmex:
Well this morning I went for a run, manually exported, charged the watch to 90% and left it on standby all day. When I got home 12 hours later it was still on a 80% charge, which is normal. So I don't know why it was discharging so rapidly yesterday and the day before. One more thing about the manual export. When I run it it always comes up with a this app is not responding message I click wait and then after a short delay it works but I'm getting two (duplicate) files posted to Runkeeper and just one to dropbox.
[Other SmartWatches] superdave:
I am working on some changes to the Wifi management when a manual export is run so that could help. You would have two runkeeper entries if you did a manual export after a run, since one gets created automatically after workout end. The service actually posted to dropbox twice also, but, dropbox just overwrites a file with the same name.
[Other SmartWatches] engmex:
Okay thanks! Strange thing is it doesn't seem to export automatically I seem to have to run the manual export, and only then do the two workouts appear. But maybe it's just my impatience tomorrow I'll wait longer and see if it automatically exports. Battery seems to be fine now it's on 50% after about 36 hours on standby, which is normal.
[Other SmartWatches] engmex:
Well it was fine for two or three days, but this morning it was totally discharged. It went from a 50% charge to 0% in about 8 hours on standby. I don't know if it's the motoactv-export app or not it could be another issue, but it definitely seems like it's related to WiFi. Also yesterday I waited for the motoactv-export to post automatically, and after about 10 mins the tcx appeared on Runkeeper, but not on Dropbox. Then I did a manual export which posted to both Dropbox and Runkeeper.
[Other SmartWatches] superdave:
It could be the wifi is being left on, this would only occur if you did a manual export. The next version will have better management of it for manual exports and more user friendly authorization screens.
[Other SmartWatches] stoudamire:
Sorry for the late response. I´ve been quite busy the last week.

With freezing I mean the system message that the app does not respond with the options to close it or to wait.

Generally, the freezing seems to be related to the Dropbox integration. Even after disabling the Dropbox synchronisation, I still got a freeze of the app when starting it. After the deletion of all the app data, the app started to work perfectly again.

Besides the freezing issue, the automatic synchronisation with Dropbox is actually not really a benefit (at least for me). Even if I manually turn WIFI on, it takes ages to synchronise the newest file with Dropbox. In contrast when doing the upload manually with the official dropbox app, I need max. 1 minute for the whole upload process. I guess due to the strange WIFI management of the MotoACTV firmware an automatic synchronisation cannot be reliable.

Currently, the solving of the issue with paused workouts is actually the only improvement I would like to see.

Nevertheless, this app has already improved the functionality of my MotoACTV a lot. Therefore, I would like to thank again Superdave for his work. :good: