Skip to content

topcoderinc/va-kidney-android

Repository files navigation

Development Environment

This Project built with default latest Android Studio & SDK Android SDK Version Compiler 27 Testing device: Android 8.0.0

Building the app

  1. Install Android Studio & Android SDK
  2. Open Android Studio and Import the project.
  3. Install Latest Android SDK Tools and Android SDK Platform API 27 from SDK Manager
  4. Create Android Emulator AVD from AVD Manager. Choose Android with Target Android 5.0 Lolipop or newer. Make sure you choose Google APIs Target.
  5. Run the project.

Google Fit Integration

This project uses Google Fit API for Android. You need to follow this instruction to make sure the app works properly. https://developers.google.com/fit/android/get-started

Open Source Project used in this project:

  • com.makeramen:roundedimageview:2.3.0
  • com.github.PhilJay:MPAndroidChart:v3.0.3
  • Glide
  • Retrofit 2
  • Sugar ORM

Open API used in this project:

  • FDA API
  • USDA NDB API

Testing Account

We can register to the app and the data will be stored in the local database. We can log in to the app using the registered account.

Configurations

We can cofigure the FDA API and USDA NDB API endpoint and API key by editing the build.gradle file app/build.gradle

  • final FDA_BASE_URL = "https://api.fda.gov/"
  • final NDB_BASE_URL = "https://api.nal.usda.gov/"
  • final FDA_API_KEY = "M19F7ValXdbz2jGtnLIEG77VgNyw4TQS4JXOY6hW"
  • final NDB_API_KEY = "RRsuimKHTOocPYhmzonbv03mIqN3CB7OGzaQtvlE"

Troubleshooting

If you have trouble with running the app. Please make sure to disable Android Studio Instant Run feature.

Video Demo

Video Demo Challenge 2

https://drive.google.com/file/d/1y8MxAK4QYvccHtGmki6vrkq32IofHXq0/view?usp=drivesdk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages