nic
e759a14909
-comments from http://code.google.com/r/nic-sensors/source/detail?r=7fd41979e22a99d8173fe91df25124e85c1766e9
2011-05-12 09:57:29 +02:00
nic
fd5a1c5b4b
- integrating comments from code review proposals http://code.google.com/r/sandordornbush-patches/source/detail?r=3dfdbcf78de082edb66a8994ffb604c84945df0d
2011-05-11 11:34:47 +02:00
nic
c95dc12a96
Merge with 3dfdbcf78de082edb66a8994ffb604c84945df0d
2011-05-10 10:09:04 +02:00
Nico Laum
70ef5912c2
- new method to calculate an Int from Little Endian data (according to the HxM documentation the data is Little Endian)
...
- new methods to calculate the CRC8 checksum
- in ZephyrMessageParser the CRC8 now is used in isValid() and the cadence and power values are written to the SensorData objects
2011-05-09 09:53:59 +02:00
Rodrigo Damazio
79bb9db3b9
Backing out changeset f35dbbe86d616e41561839a2316867b8e7e68d88 (broke gmail sharing).
2011-05-06 15:51:46 -03:00
Rodrigo Damazio
d3791ea99b
Providing network or null locations to activities, in the appropriate situations, and addressing minor style suggestions.
2011-05-06 15:45:35 -03:00
Rodrigo Damazio
5982fed0b8
Fixing sampling for re-registered listeners.
2011-05-04 22:52:34 -03:00
Rodrigo Damazio
1254df2db1
We were already assuming that the sampled-out listeners are a subset of sampled listeners, so optimize state update.
2011-05-04 22:44:36 -03:00
Rodrigo Damazio
8a23af8581
Merge to head.
2011-05-04 22:06:16 -03:00
Rodrigo Damazio
9cabb27c39
Filtering out non-GPS updates
2011-05-04 22:03:20 -03:00
Rodrigo Damazio
5c17437ba6
Assuming that we have a GPS provider until we're told otherwise
...
(this avoid a startup toast saying we have no GPS).
2011-05-04 21:50:16 -03:00
Rodrigo Damazio
520c3659d2
Fixing clearing of stats at the start of recording.
2011-05-04 21:45:23 -03:00
Rodrigo Damazio
962374b765
Optimizing re-registration of listeners so they receive updates since they were unregistered instead of a full reload.
2011-05-04 20:48:52 -03:00
Rodrigo Damazio
8fcc809299
Standardizing the creator string across exported file formats.
2011-05-04 18:21:49 -03:00
Sandor Dornbush
8eac101082
Fix-up Zephyr
...
- Add cadence
- Add power
- Check crc
2011-05-03 21:27:45 -07:00
Rodrigo Damazio
3b5625c663
Adding javadoc to ChartView.
2011-04-30 22:35:59 -03:00
Rodrigo Damazio
ea47f93bc1
Breaking down chart drawing methods as suggested by Sandor.
2011-04-30 19:16:13 -03:00
Rodrigo Damazio
c33c2de18b
Adding missing return
2011-04-30 18:42:18 -03:00
Rodrigo Damazio
f125a798bf
Fixing a few of the issues in chart drawing.
2011-04-30 04:37:59 -03:00
Rodrigo Damazio
84d7281002
Test fix: Moving tests after the tested classes have moved.
2011-04-30 02:58:44 -03:00
Rodrigo Damazio
d98a53ec43
Merging to head.
2011-04-30 02:42:35 -03:00
Rodrigo Damazio
ee3026233e
Fixing handling of no loaded track.
2011-04-30 02:40:46 -03:00
Rodrigo Damazio
8fb0b69a79
Further splitting the data hub.
2011-04-30 02:39:56 -03:00
Benjamin Hardill b hardill
03ce6c05a9
Remove extra MyTracksProviderUtils instance
2011-04-26 01:10:01 +01:00
Benjamin Hardill b hardill
1d3a03909b
Added Track as an extra to the Intent used with Intent.ACTION_SEND
...
Also removed the Locations ArrayList from the Track writeToParcel and createFromParcel as it's no longer populated
2011-04-26 00:43:20 +01:00
Rodrigo Damazio
22b96e4b24
Moving data hub and related classes to content package.
2011-04-23 04:05:58 -03:00
Rodrigo Damazio
ddf684f6c6
Removing duplicate import_done string.
2011-04-23 03:00:37 -03:00
Sandor Dornbush
cc9d327ea0
Kill second head.
2011-04-21 16:01:08 -07:00
Sandor Dornbush
47e23e3463
Make the empty chart slightly less ugly.
2011-04-21 15:57:59 -07:00
Sandor Dornbush
8feb903021
Fix minor bug in send to fusion tables.
2011-04-19 21:04:29 -07:00
Sandor Dornbush
124172e4d7
Disable import and export while recording.
2011-04-19 20:57:50 -07:00
Sandor Dornbush
9d4367cfac
Fix waypoint selection.
2011-04-19 20:43:28 -07:00
Matthew Simmons
6cd9dfce8c
Constants.TAG -> TAG
2011-04-12 17:37:10 -04:00
Matthew Simmons
4a3dbe4d60
Move ANT Sensor classes into the ANT subdirectory
2011-04-12 17:32:49 -04:00
Matthew Simmons
062ab5045a
Add an enum which stores static data about ANT sensors.
2011-04-12 17:13:11 -04:00
Matthew Simmons
ba472d3b7b
Allow cancellation of track write
2011-04-12 15:43:54 -04:00
Rodrigo Damazio
82adcf37f4
Fixing stats screen registration.
2011-04-12 15:58:58 -03:00
Rodrigo Damazio
4f23690ab4
Fixing stats screen registration.
2011-04-12 15:22:23 -03:00
Rodrigo Damazio
17481aeb38
French string fix
2011-04-12 15:05:01 -03:00
Matthew Simmons
26adbb1717
code review comments
2011-04-12 13:14:05 -04:00
Matthew Simmons
ffd2785499
merge
2011-04-12 12:49:17 -04:00
Rodrigo Damazio
5c6d160cbf
Minor cleanup.
2011-04-12 02:00:18 -03:00
Rodrigo Damazio
28a5c5b343
Merging to head.
2011-04-12 01:42:27 -03:00
Rodrigo Damazio
3501fff7fc
Fixing first-startup NPE.
2011-04-12 01:23:36 -03:00
Rodrigo Damazio
1988337598
Multiple improvements to the data hub:
...
* Making registration finer-grained so we only listen to the data we really need.
* Moving the system listener registration to an external class (for testability and readability)
* Adding a unit test (not yet complete)
* Adding documention and cleaning up comments
Still many things TODO:
* Allow pausing of registrations
* Add pause/resume to onPause/onResume of activities
* Move sampling logic out of the hub
* Optimize data reloading when display preferences change
* (maybe) move the data hub and related classes to the "content" package
2011-04-12 01:22:57 -03:00
Sandor Dornbush
be2fdd5cfa
Merge with ru.
2011-04-11 19:57:51 -07:00
Sandor Dornbush
ef0837c514
Address comments. Merge in Rodrigo's Changes.
2011-04-11 19:26:52 -07:00
Sandor Dornbush
252f88e362
Address comments. Merge in Rodrigo's Changes.
2011-04-11 19:24:36 -07:00
Sandor Dornbush
8ba9b47141
Address comments. Add periodic task factories.
2011-04-07 11:55:36 -07:00
Matthew Simmons
f984339b13
code review comments
2011-04-06 18:46:14 -04:00