jumaallan / andela-med-manager

My Final Andela Learning Community 2.0 Android Intermediate Assessment Med-App Challenge

Home Page:https://androidstudy.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Andela Med-Manager

Andela Med-Manager CircleCI Maintainability Test Coverage

Med-Manager is a simple app that helps patients remember to take their medication and provides tracking for the intake of the prescribed medication intake.

The app uses the MVVM Architecture. I have used the following components for development:

  • Room - For offline data persistence
  • LiveData - Handle data in a lifecycle-aware fashion
  • ViewModel - Manage your UI's data in a lifecycle-aware fashion
  • DataBinding - minimize the glue code necessary to bind your application logic and layouts.

The final apk can be downloaded here :

The Balsamiq Mockup can be downloaded here : https://github.com/jumaallan/AndelaMedManager/tree/master/mockup/AndelaMedManager.bmpr

Prerequisites

You will need the following to run this project:

  1. A laptop or desktop machine with internet access
  2. Android Studio 3.1 Stable Channel (Latest Stable Release)

Setting Up

  • Clone the Repository from Github
  • Open the project folder using Android Studio IDE

Login Page

The User will the be presented with the Login Page, where they are required to authenticate themselves using Google Login

Main Dashboard

After being authenticated, the use is redirected to the Main Dashboard Page, which is the Main Activity in our application. The Dashboard shows the app has no Meds added, and gives the User the options to:

  • Add New Medicine
  • See their Monthly Intake
  • See list of all Meds with Search Option

This is how the Dashboard looks like (In Empty State - No Meds Added Yet):

Medicine [Add -> Confirm -> Save]

The User is required to add Medicine, using the Add Medicine option on the Main Dashboard. This is how the process looks like :

Main Dashboard with Medicine Data

After adding Medicine, the dashboard takes a new look. Its able to show the Daily Medicine stats as swipe-able cards on the top and a list also below it. The app will also show what percentage of the Medicine is remaining with a RED DROP ARROW to show drop i.e The User is taking the Meds. A flat line is seen at 100% to show that the user has not taken any meds yet.

Medicine Details Page

This page shows the Medicine Details in an easy to understand way! Just click on the Stats Card or the Daily Medicine List to see this Details Screen. This screen will also show a Medicine Intake Graph.

Medicine Search Page

This page shows all the Meds as list, but has a SearchView to allow a User to Search for a particular Medicine and see its details on the Medicine Details Page!

Monthly Medicine Page

This page shows the Monthly Medicine taken by the User. The page also allows navigation to the Medicine Details Page

Sign Out

The users can leave the app by signing out. This clears their user data as well as the app's data and customizations, if any!

Extra Features

  • Backup User and Medicine Data to their Google Drive - Not fully complete

Undone Parts

  • Not done all Unit Tests
  • Alarm Manager not giving Notifications per Medicine
  • Medicine Intake Graph - Using Dummy Data at the moment

About

My Final Andela Learning Community 2.0 Android Intermediate Assessment Med-App Challenge

https://androidstudy.com

License:Apache License 2.0


Languages

Language:Java 100.0%