-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Woohyeok Choi
committed
Oct 11, 2020
1 parent
4e40919
commit c9479ee
Showing
93 changed files
with
7,305 additions
and
1,873 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,16 +1,45 @@ | ||
# ABC Logger: For the collection of a variety of smartphone data | ||
|
||
## Download | ||
* Please check a [release page](https://github.com/woohyeok-choi/ABC-Logger/releases). | ||
|
||
## Guide | ||
## How-to-Use | ||
* Check this [Link](https://docs.google.com/presentation/d/1Spsh91PjZ-rfkQiY6rQLb5tOxaEkIvrDn3eZffrZgs4/edit?usp=sharing) | ||
|
||
## For team members | ||
## Directory Structure | ||
- [app](app) | ||
- [grpc](app/grpc): Sub-module for gRPC specification ([Link](https://github.com/woohyeok-choi/ABC-Logger-gRPC-Specs)) | ||
- Checkout whenever the sub-module is updated. | ||
- abc-logger-client.json: Secrets for server communications and android key-store (not shown publicly) | ||
- google-services.json: Secrets for Firebase and Google APIs (not shown publicly) | ||
- [libs](app/libs): Additional libraries (e.g., polar-ble-sdk.jar for Polar H10 Communication). | ||
|
||
- [source](app/src/main/kotlin/kaist/iclab/abclogger) | ||
- [adapter](app/src/main/kotlin/kaist/iclab/abclogger/adapter): ViewBinding adapters | ||
- [collector](app/src/main/kotlin/kaist/iclab/abclogger/collector): Implementation of data collectors | ||
- [commons](app/src/main/kotlin/kaist/iclab/abclogger/commons): Common functions | ||
- [core](app/src/main/kotlin/kaist/iclab/abclogger/core): Core functions (e.g., authorization, data upload, notification, preferences). | ||
- [dialog](app/src/main/kotlin/kaist/iclab/abclogger/dialog): Simple dialog builder | ||
- [structure](app/src/main/kotlin/kaist/iclab/abclogger/structure): Data structure for shared-use (not same as database). | ||
- [config](app/src/main/kotlin/kaist/iclab/abclogger/structure/config): Structure for configuration items | ||
- [survey](app/src/main/kotlin/kaist/iclab/abclogger/structure/survey): Structure for survey questions | ||
- [ui](app/src/main/kotlin/kaist/iclab/abclogger/ui): Implementation for activities and fragments | ||
- [base](app/src/main/kotlin/kaist/iclab/abclogger/ui/base): Abstract activities and fragments | ||
- [config](app/src/main/kotlin/kaist/iclab/abclogger/ui/config): Config fragments | ||
- [main](app/src/main/kotlin/kaist/iclab/abclogger/ui/main): Main activity | ||
- [settings](app/src/main/kotlin/kaist/iclab/abclogger/ui/settings): Customized setting activities for some data (e.g., typing speed, Polar H10, survey) | ||
- [splash](app/src/main/kotlin/kaist/iclab/abclogger/ui/splash): Splash activity; initial authorization and permission requests. | ||
- [survey](app/src/main/kotlin/kaist/iclab/abclogger/ui/survey): Survey list and response fragments | ||
- [view](app/src/main/kotlin/kaist/iclab/abclogger/view): Custom view implementation | ||
|
||
## How-to-Make a Survey | ||
* Check [this](guides/survey-instruction.md) | ||
|
||
## Related Projects | ||
* [ABC Logger Server](https://github.com/woohyeok-choi/ABC-Logger-Server) | ||
* [ABC Logger gRPC specification](https://github.com/woohyeok-choi/ABC-Logger-gRPC-Specs) | ||
* [ABC Logger gRPC communication for Python](https://github.com/woohyeok-choi/ABC-Logger-CRUD-Boilerplate) | ||
|
||
## Download | ||
* [Release Page](https://github.com/woohyeok-choi/ABC-Logger/releases) | ||
|
||
## Secrets (for qualified members only) | ||
* Check [this](https://docs.google.com/document/d/1h7MI8P9RrywgHGY0U7LNLkN_geRb_D54BSLYjqgxKjs) | ||
|
||
## Coding Convention | ||
* For Fragment and Activity (especially, which uses ViewModel), do not use data binding library, because: | ||
* Some view model requires operations in a source, not XML (e.g., RecyclerView adapter) | ||
* Especially, LiveData only can be assigned into views using source, not XML. | ||
* For a layout or view inside fragment or activity, data binding can be used. |
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,9 @@ | ||
{ | ||
"server_address": "abc.kaist.ac.kr:50030", | ||
"server_auth_token": "abclogger-android-client", | ||
"test_server_address": "143.248.90.87:50030", | ||
"keystore_path": "F:/Certificates/abclogger.jks", | ||
"keystore_password": "iclabsystem12!@", | ||
"key_alias": "abclogger", | ||
"key_password": "iclabsystem12!@" | ||
} |
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 @@ | ||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":26,"versionName":"0.9.9-c","enabled":true,"outputFile":"kaist.iclab.abclogger-v0.9.9-c-debug.apk","fullName":"debug","baseName":"debug"},"path":"kaist.iclab.abclogger-v0.9.9-c-debug.apk","properties":{}}] |
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
Submodule grpc
updated
9 files
+4 −1 | README.md | |
+20 −0 | aggregate.proto | |
+8 −0 | common.proto | |
+0 −251 | data.proto | |
+274 −0 | datum.proto | |
+35 −0 | heart_beat.proto | |
+49 −0 | hqs.proto | |
+114 −0 | service.proto | |
+19 −0 | subject.proto |
Oops, something went wrong.