yashsingh1/xdaforums huggingface dataset:
[Other SmartWatches] mversion:
Yes. Did that multiple times. Exactly in that order. Sad thing is, it worked the very first time I tried this mod, but lost the ability to sync with MotoActv (don't know whether it was because I chose REPLACE DEVICE instead of ADD THIS DEVICE) and I was having multiple duplicate runkeeper updates. But the keyboard was fine. On my subsequent tries, I regained MotoActv syncing, but can't bring up the keyboard to setup runkeeper/ dropbox etc. And at one of the tries I couldn't add my ANT+ heart rate monitor either as the settings app would crash every time.

Shame. I've gone back to just stock rom, but hopefully there'll be an update (though doesn't look so promising) and I can give it a go again.
[Other SmartWatches] Kurto2021:
I'm not completely stupid but I cannot get this thing to work. When I choose to export I sit on wait a long time but doesn't appear to do anything. What is odd is when i rotate the screen then it switches from wait back to an export button. End result no tcx file waiting for me.

I root the device without a problem. here is my procedure.

1. I extract the Motoactv_export from the Motoactv_export_1.11.zip file. (assuming the other one is an old motoactv_export)

2. adb Motoactv_export.apk

3. adb remount

4. adb push Settings.apk /system/app

5. adb reboot

I have tried these options too but not really sure what happens....when I run the first one for Sync_Service I just sort of hang it starts to do something but not sure if I have to give it a long time or just exit the adb screen.

# For the service run the following command, start and stop a workout, then click End workout .

adb logcat SYNC_Service:V *:S

adb logcat AndroidRuntime:V *:S
[Other SmartWatches] gigaguy:
I also use sporttracks. I cannot seem to find the option to import tcx. Where is the option?

I got the apk and setting installed. I tried doing a run and a bike. Both show up in my history, but if I goto settings->export tcx I dont see them in the dropdown.

Does this export automatically, or do I have to manually export? It doesnt matter, just want to know if I need to do it.

I have setup runkeeper and google drive. I got a couple to manually move to google, but nothing is ever sent to runkeeper. I do see on runkeeper website where it's authorized.

Edit: Sorry, tcx file do seem to automatically get created on the motoactv sdcard. Just not get sent anywhere.

Update: you need the garmin gps plugin enabled in ST to import tcx.
[Other SmartWatches] eddierab:
Sync Service

First, This is an awesome app and I love being able to import my data to strava. I have the same issue as Kurto. I'm not sure how to configure the service or if I even need to. Right now I have to manually export the work outs to dropbox. It's not a big deal but if there is a way to handle this automatically, that would be awesome.
[Other SmartWatches] johnnieosaka:
Sync Service

Same problem as Kurto.

Can anyone help with regards to setting up the sync service?
[Other SmartWatches] gigaguy:
Is the source code for this app posted somewhere?

I'd like to add Strava.

http://strava.github.io/api/
[Other SmartWatches] seveng:
They finally re-opened the API! I was using the dropbox integration alongside some python I took from https://github.com/ngcurrier/Motoactv_Strava_Utilities and had it cronned to check every 10 minutes. They disabled the v2 API and I re-wrote it to email the .tcx. Now I'm not sure I have the motivation to switch to the v3 API.

Now if only I could find a similar way to get the TCXs in to endomondo (there's where my wife likes to post her stuff).

--SevenG
[Other SmartWatches] gigaguy:
Thats how I was doing it, but then I also found https://tapiriik.com/

I've tried curl/python to endomondo as well. I understand not allowing export/download from a site, but sites should allow upload in as many ways as possible.

On a side-note, if you are a runner you should check out http://smashrun.com/. Also allows email of tcs, which i've been doing via script.

That just made me think of something. The tcxexporter on the MA, can write to the sd card. Can MA run python or something to also email the tcx? Maybe that is a workaround unless we can get the src?
[Other SmartWatches] seveng:
Tapiriik looks interesting, but I'm a little leery of handing out account credentials. You can't run python natively on the MA but there are lots of options like kivy, qpython, sl4a, etc, but you'd need to find an intent for either tcxexporter or one of the other tools to trigger it.
[Other SmartWatches] scottay:
According to https://tapiriik.com/privacy, you shouldn't need to give actual credentials for Dropbox, Strava, or RunKeeper. I've been trying to manually update from Dropbox to RunKeeper using Tapiriik, but haven't had much luck. I don't know if it's because of an issue with the ,tcx generated by Motoactv_export_1.11, or if it is caused by the problems the Tapiriik developer has been having over the last couple of days (https://twitter.com/tapiriik). I figure after he gets things working smoothly again, I'll send him a .tcx and see if he can identify the problem. If I can get the manual import working, I would gladly pay the $2 per year for automatic import to the supported services.

After having problems getting Motoactv_export_1.11 automatic export to RunKeeper with other ROMs, I returned to rooted stock ROM 1.7.10 as suggested in this thread, and have had progress in seeing that it shows up in RunKeeper as desired, but only if there is GPS data. If I do an Elliptical or even Indoor Run, I get a logcat response of something like:

01-14 21:02:52.600 12194 12194 E MainActivity: Path must contain at leat two points, discarding.

and the workout is not imported. It is still exported to local .tcx and Dropbox. I could have sworn that earlier in this thread people have mentioned indoor workouts, but don't know if I'm mistaken or something has changed either in the last version or RunKeepers interface. Anybody have same/different experience? I was hoping that Tapiriik would make this issue moot, since manual import of these indoor .tcx files works in RunKeeper, Garmin Connect, etc.
[Other SmartWatches] seveng:
That may be a RunKeeper thing, as I use the spin bikes at the gym with no issues with the TCXs on Strava or Endomondo.
[Other SmartWatches] scottay:
Sorry if I wasn't clear - I can upload .tcx's with no GPS can be uploaded to RunKeeper (and Strava and Endomondo and Garmin) using their specific process, but the Motoactv_export_1.11 direct upload to RunKeeper will only work if there is GPS information, in my experience.
[Other SmartWatches] seveng:
Interesting, I wonder if that's an API limitation, or maybe an older implementation of it in the tcxexporter.
[Other SmartWatches] superdave:
I had not tested the app for those event types. I'll take a look and see what the issue is.
[Other SmartWatches] scottay:
Thanks, that would be great - really appreciate the work you've done. From the discussion between gigaguy and seveng, I just got it working for all .tcx from your Motoactv_export_1.11 -> Dropbox -> zapier tool to email new Dropbox files as attachments -> Strava. I then successfully used tapiriik to sync Strava to Garmin and RunKeeper. For kicks I'm trying SyncMetrics with Strava to fitbit and Nike+, but only have partial success.

https://zapier.com/

http://www.syncmetrics.com/
[Other SmartWatches] jonstoops:
[MENTION=238068]superdave[/MENTION] - THANK YOU!!!

[MENTION=277432]scottay[/MENTION] - just bringing this over from ClearD's thread but here's how I got it rolling (when Runkeeper wasn't taking my SD auto-uploads)- SD Exporter creating the local TCX, FolderSync on the MA to DropBox, Tapiriik syncing to RunKeeper, Garmin, and Strava (TO Garmin doesn't seem to be working even though his system is back up).

That being said, having done a clean flash and reinstallation of the Exporter, I have it linking to RK just fine. I think I've direct uploaded a non-gps workout but I'm not sure. That being said, Garmin doesn't recognize the TCX's for what they are (Run/Cycling/Walk/etc) because they aren't tagged. [MENTION=238068]superdave[/MENTION] - could you add that functionality? Just pulling the 'activity type' from the TCX and putting it in the name of each exported workout file would do the trick (I think).

I will attempt to upload a non-gps workout direct to RK later today.
[Other SmartWatches] jonstoops:
Ok, I tested two non-gps based exports (1 running, 1 eliptical). Neither successfully uploaded to runkeeper though both showed up in my dropbox. It also forced me to re-enter my RK login credentials both times I attempted the export.
[Other SmartWatches] superdave:
The app currently support sport types of "Running", "Walking", and "Other". I just tested an indoor run and it exported the TCX correctly and set it to "Running". I also tested an elliptical and it set it to "Other" and exported fine. I'll have to dig through the TCX specs and see what the supported sport types are to see if we can get a better match for those.

Edit:

According to this http://developer.garmin.com/schemas/tcx/v2/xmlspy/index.html#simpleType_Sport_t_Link05D92FE8 those are all that are supported. Is there a newer spec or an example of a TCX that has different sport types?
[Other SmartWatches] jonstoops:
I dont know why Garmin isnt acknowledging the "activity type" tag within the file. As for other activity types within the tcx, i did see a list of supported tags somwhere but i'll have to search for it.

That being said, the breakdown of runkeeper upload in the absence of a gps track seems to be the greater issue. If I use email to strava or dropbox to runkeeper... the tcx imports just fine. Its just the built in runkeeper export that fails when its an 'indoor' activity.
[Other SmartWatches] scottay:
It does seem that this is indeed a limitation of the TCX. I would echo an earlier request in this thread that by incorporating the activity type in the filename, perhaps instead of "workout", that the workout type would still be associated with TCX file and could be directly used by some services, such as tapiriik (see https://tapiriik.com/faq: What are "untagged activites" and why do I care?)

I agree that this is the bigger issue for me as well, but I have no idea how you are doing the upload to RunKeeper. I admit, I thought you were just uploading the TCX you generate, but after some reading it seems the RunKeeper API does not support this and you are having to also implement their API independently of the TCX generation. If this is the case, I would guess that perhaps the "path" field you send is not completely empty, which they expect for stationary activities (http://developer.runkeeper.com/healthgraph/fitness-activities#newly-completed-activities). Also, the RunKeeper API does support different exercises in the "type" field, so if you do end up making changes it would be great if you could set that for activities that match in both RunKeeper and MOTOACTV.
[Other SmartWatches] Driver_Eight:
SuperDave

Great to see you still involved in this product!

The Motoactv TCX Exporter tool has kept my Motoactv devices alive. I bought a second one after you released this product (backup in case of hw issues). Great work on pulling a wealth of data from the watch and allowing us to use with tracking and analysis software of our choice. Given Motorola's deplorable support of their website, this product was really the only option to keep the Motoactv effective.

I use with Sporttracks for both mobile and PC and getting as much data as possible has been very useful.

Seeing the latest comments on the various activity types reminded me that the Motoactv watch database still has some information not making it to your TCX files. Given poor (or no) documentation from Motorola on what is captured for the various non running or cycling activity types, I have found out myself how to set the right activity type to get the watch to capture cadence or 'step_rate' in their parlance for some of those activities.

However, it appears that this data field is not captured at record entry level in your TCX file.

CSV exports from Motorola website (from the 'workout stats' tab export) for these activities include STEPS_PER_MINUTE, STRIDES, STEP_RATE and CADENCE.

STEPS_PER_MINUTE - seems to just be total steps of activity

STRIDES - same as above

STEP_RATE - seems to be accurate as to their accelerometer

CADENCE - 0 in these non-cycling activities

Any chance that you might look at an update to TCX Exporter to add the step rate or cadence for these activity types?
[Other SmartWatches] VjFill:
I'm surprised to find this amazing tool, thanks Dave.

But I've got a question. I've read the whole thread, but haven't found an answer.

Does this tool support "Other" activities as Aerobics and Weight Training? Or it just supports "Other" and I'll have to set activity type manually during import?
[Other SmartWatches] Kurto2021:
I can't figure out why I am the only person who can't get this to work. I have the 16gb maybe that is the issue......either way it never works
[Other SmartWatches] tonino12:
Hi,

I can't install export tcx menù in the setting menù of my rooted stock EU rom.

When I try to digit: adb push Settings.apk /system/app terminal responce is: cannot stat 'setting.apk': no such file or directory.:(

If I try to start service manually by adb command app is OK and work fine.

Sameone can help me?

thanks

:)
[Other SmartWatches] dclutter1:
Make sure settings.apk is in the same directory as wherever you run adb from.
[Other SmartWatches] tonino12:
THANKS for answer!

I use root tool adb command prompt. After unzip root tool, I put setting.apk and motoactv_export.apk in the created directory and then I send command. Motoactv_export.apk install right but setting.apk give me above message.:(

---------- Post added at 08:48 AM ---------- Previous post was at 08:21 AM ----------

I tried again and now it works. Probably the other night it was too late for my brain.:D

Thanks:o

---------- Post added at 08:53 AM ---------- Previous post was at 08:48 AM ----------

Now the best for me would be the possibility to modify the EU rom stock with 1% battery modding:p
[Other SmartWatches] dclutter1:
Awesome, in glad it worked.

Sorry idk much about the EU version so I'm not sure if or why battery mod wouldn't work,
[Other SmartWatches] ivorh:
actually I've got an EU rom that I've applied some of the DPRom fixes too, including the 1% mod. I'll see about tidying it up and uploading somewhere.
[Other SmartWatches] tonino12:
Fantastic. I was the best for me.

Thanks thanks, thanks:good::laugh:
[Other SmartWatches] Chimpware:
Great Work!

Just rooted my Motoactv and installed the TCX Exporter and all works as planned. mazingly great piece of work and will make my Motoactv have a much longer life than it might have. Thanks so much Super Dave, just threw a little donation your way.
[Other SmartWatches] Chimpware:
Couple of questions / issues in case Super Dave is still working on this:

- It seems that in the Export TCX menu only Local TCX and Google drive are available until you choose Google Drive and then come back tot eh menu and then you have all the options available.

- Direct export to Runkeeper does not seem to have the HR data, but it is in the TCX exported and if I manually upload the file to Runkeeper the HR data is there.
[Other SmartWatches] Kurto2021:
I got it working for local export. Whenever I choose Runkeeper I get the screen with the allow / deny option but there is nothing for me to click. When I choose Google I get just a white screen. Drop box just sits on a loading screen forever.
[Other SmartWatches] vit4u:
The installation was smooth and I was able to do my first test export to Google Drive right away. But the next time I tried, I discovered an issue - the exporter is asking me to login to Google Drive again. I suspect my credentials get wiped once I turn the watch off. Since I only use this watch to track my runs, I turn them off every time after I complete my excersize and turn them on before the next one. This allows me to charge the watch once after 3-4 runs. So, it would be nice if the tool can connect to Google Drive automatically without the need to enter login/password every time.

Today I imported the exported TCX into Endomondo. Here's couple issues as well. First, the max heart rate was missing after import while average rate was imported. It looks like in issue with the TCX file. Also, while the average pace is correct at 6:06 min/km for an easy run today, the max pace is wierd - 8:20 min/km. It must be around 5:20 from what I'm observing on the graph. The graph seems to be fine - both for pace and heart rate.

The max heart rate on the image below is manually entered.
[Other SmartWatches] C--Dog:
Not entirely Clear

I am not entirely clear on the standard order of install. Is the below correct?

Install App (adb install Motoactv_export.apk)

Start Exporter & configure for Services (adb shell am start -n com.sdsoft.motoactv_export/com.sdsoft.motoactv_export.MainActivity)

Here is where I have trouble, do I need to run the first command (adb logcat SYNC_Service:V *:S), the start & stop a workout, then click end workout?

Now do I perform the other command (adb logcat AndroidRuntime:V *:S) then start & stop a workout, and click end workout?

And finally, install the settings update (adb remount & adb push Settings.apk /system/app & adb reboot)

Once all of that is done, then in theory if I perform a workout at the conclusion of that workout a .tcx will be exported to the places I configured. w/o any further interference from me. Is that correct?

Thanks!

---------- Post added at 03:37 PM ---------- Previous post was at 03:28 PM ----------

I've tried this a couple of times now, and I am having the "no keyboard" in the exporter settings issue. Has anyone resolved this issue? I tried a back to stock attempt and that didn't work.
[Other SmartWatches] superdave:
I am just now starting to get to some of these issues. If you have a repeatable issue please re-post it, a consolidated list would be great. So far I have corrected the runkeeper data to include heart rate. I don't see the issue with only Google drive being able to be enabled at first. I also cant repeat the issue with google drives credentials token not being stored. Is anyone else having these issues? The other issue im trying to track down is the tcx not accounting for a pause.

ETA:

I am working to set up a github for this now. The source will soon be GPL v2.
[Other SmartWatches] juanedu:
Thanks Dave,

That's awesome! Last week I started to mess a bit with activity.db, but i can't get the full picture.
[Other SmartWatches] superdave:
This app is now open source and can be viewed at https://github.com/superdavex/Motoactv_export

Please use this site to track in issues with the app.
[Other SmartWatches] scoobdriver:
Could you let me know what the fix for this is ? I'm using 1.11 and also experiencing no HR data on runkeeper uploads ... THanks :)
[Other SmartWatches] VjFill:
Is it possible to add TCX export to Endomondo?
[Other SmartWatches] gigaguy:
Endomondo doesn't have an api. It's not a limitation of this tool.
[Other SmartWatches] VjFill:
Well, there are third-party tools, like sports-tracker-liberator (can't post links yet)
[Other SmartWatches] gigaguy:
This? Interesting, I hadnt seen that.Been looking for a way to import into Endomondo for a long time. Thanks.
[Other SmartWatches] gigaguy:
Awesome, thanks for doing this. Can we contribute? I know strava api is available again, and maybe we can incorporate some of that endomondo code in too. Less work for you :)
[Other SmartWatches] VjFill:
gigaguy, yep, that's it.

That would be really great :)
[Other SmartWatches] mversion:
Every time I enable Runkeeper integration, unfortunately old workouts get uploaded multiple times, over and over again.

Any idea why?
[Other SmartWatches] m.klinge:
Did this ever get fixed? :)

//M
[Other SmartWatches] tartanblue:
Fix for non-running workouts

Hey superdave, thanks for posting this and putting the source up at Github. I noticed that for some reason it stopped listing newer workouts and realized it had to do with non "running" workouts. An exception occurred when attempting to get "summary_value" for a workout:

I put another try...catch block around each iteration of the containing while loop and I'm now able to skip over the non "running" workouts. Woo! The problem though is that the github listing doesn't have src/com/sdsoft/motoactv_export/ApiKeys.java and if I use the version I built, I can't export to Dropbox, Google Drive, or RunKeeper.

1) Would you add ApiKeys.java to the GitHub listing?

2) Can you make the change I described above in Github, or add me as a collaborator (my Github userid is jasalmeida)?

BTW - Thanks for the great work on this!

-J
[Other SmartWatches] armature:
Hey Tartanblue,

I just built a new class to contain my own versions of the keys. I assume he didn't add those keys because they're his. You can sign up for API Keys for yourself fairly easy. Once I added the strings to the file it resolved the errors.

package com.sdsoft.motoactv_export;

public class ApiKeys {
public final static String dropbox_APIKEY = "SomeValue";
public final static String dropbox_APISECRET = "SomeValue";

public final static String googledrive_APIKEY = "SomeValue";
public final static String googledrive_APISECRET = "SomeValue";

public final static String runkeeper_APIKEY = "SomeValue";
public final static String runkeeper_APISECRET = "SomeValue";

}
[Other SmartWatches] mversion:
Hey guys,

since I factory reset my MotoActv, I can no longer sign in to to MotoCast. TCXExporter and Tapiriik have been a life saver, however, I have a couple of issues I'd like to resolve.

Because there's no heart rate data when TCXExporter uploads directly to Runkeeper (plus I've previously had an issue where it would upload the same workout multiple times) my current setup is that the TCXExporter uploads to Dropbox and Tapiriik synchronises Dropbox with Runkeeper.

How can I make sure my activities show up as Running (and not other) when imported from Dropbox to Runkeeper via Tapiriik?

I have Tapiriik setup to add _Running at the end of the filename before uploading it to Runkeeper, but that didn't work.

How can I get TCXExporter to autosync? I'm guessing because the MotoActv is not synchronising with it's own portal it's not initiating TCXExporter? I have to manually export workouts.

I think if I can resolve the above, I don't care if Motorola fix the Motocast login issue. Also, learn from my mistake, DON'T logtout or factory reset your MotoActv or you won't be able to sign back in!
[Other SmartWatches] armature:
Yeah, I had never logged out and my motocast id just stopped working for no reason. I wound up having to create a new ID just to regain access to the portal because moto's support spent over 2 weeks trying to restore my access with zero progress. Sadly, my historical data is toast.

I've been digging through the various databases within the motoactv over the last few days...I was surprised by how many things are seemingly unused.
[Other SmartWatches] mversion:
Well creating a new account was the first thing I had done a couple of weeks ago after I gave up in frustration, but that didn't work either. So this morning I got a reply from Motorola and saw this response suggesting creating a new account and I thought I'd give it a go.

Sure enough, this time it works with a new account. Heck, I might have even been able to login with my old account that like you, has hundreds and years worth of workouts, but at this point I'm too scared to try.

Now, all that remains is getting my Tapiriik dropbox to runkeeper sync to say Running for the activity type instead of Other. Any ideas from fellow Tapiriik users? I've configured the sync to add _Running to the filename in Dropbox, but that didn't work. I've now changed it to _running incase the capitalisation matters, but any help would be appreciated.
[Other SmartWatches] summoner:
I've contacted Colin from Tapiriik to assist - do we have a way of deciding which folder / filename TCX exporter will use?