Skip to content

primofin/step-tracker

Repository files navigation

Step Tracker

An android app is built mainly for someone who keeps moving all the day and wants to track his/her own steps. In addition, it was added some interesting features like data visualizing, syncing data, etc.

Screenshot

alt text alt text alt text alt text

After clicking image in screen 3, the result will be showed:

alt text

Accessibility testing result here

Install

Run Only

  • Download the APK file in order to install here

Developer Mode

  • Clone the project
  • Create a Firebase Project here. Then you can follow the instruction to add Firebase to the application.
  • Create a realtime database by following this instruction
  • Configure Google API and get your backend server's client ID by following this instruction
  • Replace your web server client ID in this file

Remember to Create OAuth client ID both for Web Sever and Android Application. Then replace the tokenid by using the Web Server Cliend ID to avoid error code 10

  • Build the application

Features

  • Tracking daily steps
  • Calculating the BMI for tracking personal health and give the result interpretation
  • Running app in foreground
  • Saving data online through Google Firebase
  • Syncing data among phones in realtime
  • Using Google service to authenticate
  • Visualizing user’s steps in the recent days by graph

Concepts implemented:

  • Phone’s internal sensor(s) : TYPE_STEP_COUNTER
  • Fragments, Activities
  • Persistence : Interal Storage
  • Connection to Google Services, Firebase Realtime Database
  • Services: Foreground service, Background service.
  • Have AR related functionality
  • Map
  • GPS

Authors

  1. Vy Nguyen
  2. Nhan Mai