Skip to content

Android application responsible for OCARIoT platform data acquisition. The application acts as an external services access token manager. Currently, only Fitbit service is available.

License

Notifications You must be signed in to change notification settings

douglasrafael/da-app

 
 

Repository files navigation

OCARIoT Data Acquisition

License Vulnerabilities Commit Releases Contributors

Download

Native Android application responsible for OCARIoT platform data acquisition. The application acts as an external services access token manager. Currently, only Fitbit service is available.

MAIN FEATURES:

  • Fitbit access token management:
    • The Educator and the Health Professional can grant the OCARIoT platform permission to collect Fitbit data from children who have privileges to manage their data according to the consent of those responsible;
    • Support to request collection of Fitbit data from the child at any time, automatically saving to the OCARIoT platform;
    • Revocation of permission to collect Fitbit data.
  • Display of data saved on the OCARIoT platform:
    • Physical activity;
    • Sleep;
    • Weight.
  • Display of heart rate data collected in real time. Supported devices:
    • Polar OH1;
    • H10.

Prerequisites

  • Android SDK v28
  • Latest Android Studio 3.5+

Getting Started

  1. Clone this repository and import into Android Studio

    git clone https://github.com/ocariot/da-app.git
  2. Set up the environment:

    • Make a copy of the gradle.properties.example file in the /app directory named gradle.properties (This file will not be tracked by git because it is in .gitignore).
    • Change the values of the variables you find necessary according to your development and production environment.
  3. Add the Firebase Android configuration file:

    • Sign in to Firebase, then open your project and click Download google-services.json to obtain your Firebase Android config file.
    • Move your config file into the module (app-level) directory of your app.
  4. Open project in Android Studio:

    • From the Android Studio menu, click File > Open.
    • Alternatively, on the "Welcome" screen, click > Open an existing Android Studio project.
    • Select the project folder and click OK.

Generating signed APK

From Android Studio:

  1. Build menu
  2. Generate Signed APK...
  3. Fill in the keystore information (you only need to do this once manually and then let Android Studio remember it)

Contributing

  1. Fork it
  2. Create your feature branch git checkout -b my-new-feature
  3. Commit your changes git commit -m 'Add some feature
  4. Push your branch git push origin my-new-feature
  5. Create a new Pull Request

Screenshots

About

Android application responsible for OCARIoT platform data acquisition. The application acts as an external services access token manager. Currently, only Fitbit service is available.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%