This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Timothy Langer <[email protected]>
- Loading branch information
Showing
42 changed files
with
828 additions
and
120 deletions.
There are no files selected for viewing
22 changes: 0 additions & 22 deletions
22
app/src/androidTest/java/net/zeevox/nearow/ExampleInstrumentedTest.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
classDiagram | ||
DataProcessor *-- DataCollectionService | ||
DataUpdateListener *-- DataProcessor | ||
DataUpdateListener <|.. PerformanceMonitorFragment | ||
DataCollectionService o-- PerformanceMonitorFragment | ||
PerformanceMonitorFragment *-- MainActivity | ||
SessionsFragment *-- SessionActivity | ||
FitFileExporter *-- SessionsFragment | ||
Activity <|-- MainActivity | ||
Activity <|-- SessionActivity | ||
Fragment <|-- PerformanceMonitorFragment | ||
Fragment <|-- SessionsFragment | ||
class PerformanceMonitorFragment{ | ||
-Button viewSessionsButton | ||
-Switch enableGpsSwitch | ||
-Service mService | ||
-Boolean mBound | ||
-startTracking() | ||
-stopTracking() | ||
-startAndBindToDataCollectionService() | ||
} | ||
class SessionsFragment{ | ||
-TrackDatabase db | ||
-TrackDao track | ||
-onSessionShareButtonClicked() | ||
-onTrackExported() | ||
} | ||
class FitFileExporter{ | ||
+exportTrackPoints(ListTrackPoint) | ||
} | ||
class DataUpdateListener{ | ||
<<interface>> | ||
+onStrokeRateUpdate(strokeRate) | ||
+onLocationUpdate(location, distance) | ||
} | ||
class DataProcessor{ | ||
-DataUpdateListener listener | ||
-TrackDatabase db | ||
-TrackDao track | ||
+Boolean isRecording | ||
+setListener() | ||
+addAccelerometerReading() | ||
+addGpsReading() | ||
+startRecording() | ||
+stopRecording() | ||
-getCurrentStrokeRate() | ||
|
||
} | ||
class DataCollectionService{ | ||
<<Service>> | ||
+DataProcessor dataProcessor | ||
-Boolean inForeground | ||
+enableGps() | ||
+disableGps() | ||
+setDataUpdateListener(listener) | ||
-startForeground() | ||
-stopForeground() | ||
-registerSensorListener() | ||
-initGpsClient() | ||
} | ||
class MainActivity{ | ||
+override onBackPressed() | ||
} | ||
class SessionActivity{ | ||
+override onSupportNavigateUp() | ||
} | ||
class Activity{ | ||
+supportFragmentManager | ||
+onCreate() | ||
+onStop() | ||
+onStart() | ||
+onBackPressed() | ||
....() | ||
} | ||
class Fragment { | ||
onViewCreated() | ||
onDestroyView() | ||
onStart() | ||
onStop() | ||
} | ||
|
Binary file not shown.
Oops, something went wrong.