Code Monkey home page Code Monkey logo

pillapp's Introduction

Pill Reminder

The Goal:

Pill Reminder is an native android application meant to aid the forgetful and busy with remembering to take their daily medications. It is designed for users who need a little help keeping track of their medication schedule and who are dedicated to keeping the schedule. It is not designed for people who wish to cheat the system or plan to not stay up-to-date with the schedule. The application allows the user to store pill objects and multiple alarms for those pills. Alarms have one time of day and can occur on multiple days of the week. The user is able to view their pills in a today view, a tomorrow view, a weekly view, and an editable view that shows every pill and every alarm. In addition, the application stores the history of when each medication was taken; this will aid the user in keeping track of their medication usage.

How to get it working:

  • Download ZIP from GitHub
  • Download Android Studio and SDK Android 5.0.1 API 21 (the minimum API Level required for the application to run is API 16)
  • SDK Build Tools 21.1.2
  • It is not recommended for phones with resolution smaller than 480x800
  • Please use at your own risk for APIs newer than API 21 and older than API 16
  • It is highly recommended for users to use the Genymotion Android emulator over the built in Android Studio emulator (https://www.genymotion.com)

Known Bugs and Future Plans:

See GitHub issues. (https://github.com/Qitalach/PillApp/issues)

Use Cases and What Each Button Does:

In the Home page, you will see 3 buttons in the top right of the application. ######Plus sign: This will take you to the Add Activity where you will be able to create an alarm. The application will automatically link up all the alarms to a specific pill with the same Pill Name. If you attempt to create an alarm to a pill that does not exist, it will automatically create a pill object for you. ######Suitcase sign: This will take you to the Pill Box Activity where you will be able to see all the pills and alarms created. This will also be the place where you can edit and delete any pill and alarm you desire. ######Calendar sign: This will take you to the Schedule Activity where you can see all the pills and alarms organized by the day of week.

######List of use cases:

  • Add an alarm: Press the plus sign button and go to the Add Activity. Enter information and press "Set Alarm".
  • Edit an alarm: Press the suitcase sign and go to the Pill Box Activity. Select a pill and then an alarm of the pill. Enter information and press "Set Alarm".
  • Delete an alarm: Press the suitcase sign button and go to the Pill Box Activity. Select a pill and then an alarm of the pill. Press the trash can icon at the top right corner.
  • React to an alarm: When the dialog box pops up, press one of the three buttons to indicate "I took it", "Snooze", or "I won't take it".
  • View the schedule for today and tomorrow: Swipe to the today or tomorrow tab on the home screen.
  • View the schedule for the whole week: Press the calendar sign button and go to the Schedule Activity.
  • View the alarms by pill: Press the suitcase sign button and go to the Pill Box Activity.
  • View the history: Swipe to the history tab on the home screen.

Attributions:

pillapp's People

Contributors

charleshypk avatar lbarstow avatar tkeppler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pillapp's Issues

Histories

edit how histories are stored to enable filtering and sorting

Database Updating

Currently, any update to the database code will erase any stored data and restart with fresh tables. A change needs to be made to the onUpdate() method in the dbHelper class so that this does not happen.

Dialog Box to Notification

When dialog box occurs when not using app, it automatically sends us to the app. Same thing happens when you press the positive button. Would like it not to do this.

And after the user is sent to the app, the title of the app is changed to "alert activity" instead of "pill reminder".

History and Pill Box doesn't show anything when there's no data

We left this out intentionally because it was hard to implement due to our setup of the layout. For example, in the pill box activity, we need to replace the whole expandable list view object in order to add a string there to indicate that there is no pill.

Use themes/style more often to set up view parameters

We set view parameters (text color, font size, etc) of every view object individually. But some view objects have the same parameters, so setting them up every time individually is redundant. We need to store these parameters in the theme/style, and apply these themes/styles to the view objects.

Alert Activity

Alert Activity doesn't finish when the App is not running

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.