CompanyGateways / mytracks

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

Default activity type #519

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to be able to set a default activity type (e.g., cycling). That 
would save me from manually adding it for most of my recorded tracks.

Even better, My Tracks would guess the activity type based on available metrics 
(mph, distance, etc.). Seems like it would be easy to guess in the common case. 
For example, if mph goes higher than 20 it seems reasonable to conclude that 
the activity is a bike ride and not a run. 

Original issue reported on code.google.com by nk...@google.com on 20 Jul 2011 at 3:15

GoogleCodeExporter commented 9 years ago
What about if mytracks asked for the activity when you start the track.

I used to use nokia sports tracker which did it this way, makes more sense to 
me. When I start, I know if i'm going running or cycling. Why not select it 
then, not when i've just finished a track and am completely out of breath and 
knackered :)

Original comment by j...@gawera.com on 27 Jul 2011 at 9:18

GoogleCodeExporter commented 9 years ago
Please review my code, which implements this function:
https://code.google.com/r/rimazbe-mytracks-2/source/detail?r=0788774d3b96d410dab
7f9ee997de48de7381365

Original comment by Rimaz.be on 7 Nov 2011 at 3:28

GoogleCodeExporter commented 9 years ago

Original comment by sandordo...@google.com on 7 Nov 2011 at 6:11

GoogleCodeExporter commented 9 years ago
Hi Rimas:

In your online repository,
https://code.google.com/r/rimazbe-mytracks-2/

can you turn on code review.
Administer->Source->Code reviews->Enable code reviews->Allow non-members to 
review code.

I searched around and it might be possible to add auto-complete to the 
EditTextPreference.

See the second suggestion in
http://stackoverflow.com/questions/3326317/possible-to-autocomplete-a-edittextpr
eference

This is optional, you can keep your changeset as it is.

Jimmy

Original comment by jshih@google.com on 7 Nov 2011 at 9:55

GoogleCodeExporter commented 9 years ago
Thanks. I turned the code review option on.

I don't think that auto-complete is a very vital function here, since in most 
cases this field will only be completed once. I will try to add it, though.

Original comment by Rimaz.be on 7 Nov 2011 at 10:34

GoogleCodeExporter commented 9 years ago
I've added auto-complete to the 'Default Activity Type' field:
https://code.google.com/r/rimazbe-mytracks-2/source/detail?r=f992634750d06b9be40
8d19a54c9eca6e8734d4b

Original comment by Rimaz.be on 9 Nov 2011 at 3:20

GoogleCodeExporter commented 9 years ago

Original comment by jshih@google.com on 22 Nov 2011 at 2:03

GoogleCodeExporter commented 9 years ago
Thanks!

Original comment by nk...@google.com on 22 Nov 2011 at 2:24