voroshkov / Chorus-RF-Laptimer

MIT License
185 stars 54 forks source link

Generate CSV Report #31

Closed raveerk closed 7 years ago

raveerk commented 7 years ago

Added generateCSVReport() function in AppState.java. This function will be triggered when onLongPress of btnRunRace.

Added test cases to check if desired output will be generated. The generate CSV will look like as follows:

LAP,PILOT,TIME 1,Pilot 1,00:00:00 2,Pilot 1,00:10:00 1,Pilot 2,00:01:00 2,Pilot2,00:00:00

*warning this is not tested on actual device. (my chorus broke. )

MilewskiPawel commented 7 years ago

@raveerk , @voroshkov - Can I suggest another solution? After stopping the race, once the times are sorted, the Save button may be available. Default location for Chorus folder or better mSD card. The next super feature would be to push to google drive / dropbox

voroshkov commented 7 years ago

@MilewskiPawel Do you think auto-saving is not that convenient?

MilewskiPawel commented 7 years ago

Even such functionality is sufficient