Medicine Monitor Medicine Monitor Android Medicine Administration Aid
BaseMenu.java | DosageActivity.java | EditMedActivity.java | HistoryActivity.java | HistoryView.java | MainActivity.java | ScheduleActivity.java | TodayActivity.java | Resource Files
Overview

   Medicine Monitor is an Android application designed to aid in the administration of a schedule of medicine.  When medicine entries are created the application creates the corresponding schedule entries.  Each day's schedule entries are displayed in a list view where the entries can be selected and updated.  The administration of the medicine dosage is recorded along with a subjective assessment of the patients wellness.  The history screen plots the times of the medicine dosages along with the wellness assessment.

   A file maintenance activity displays the number of records in each file and allows the files to be cleared.  The files used by the application are:

1.  runDate.txt

The runDate.txt file contains the last date the application was run.  It is used to trigger the creation of new schedule records for each day.  runDate.txt file is maintained by the application.

2. medicine.txt

The medicine.txt file contains the medicine name, dosage amount, frequency, and interval.  Also the medicine
start date and time and prescribing doctor's name.  Users need to create  a medicine.txt record for each new medicine.

3. schedule.txt

The schedule.txt file contains the information displayed in the list view and records the dosage action and wellness value entered by the user.  These records are used to create the line graph in the history activity.  schedule.txt records are created by the application and updated by the user.

4. schednew.txt

The schednew.txt is an intermediate file used for maintaining the updates of the schedule.txt file. schednew.txt file is maintained by the application.

Running Medicine Monitor Sample Session

1.  Begin setting up a medicine schedule by ensuring all the files are empty.   Tap the "Medicine Files" button to get into the File Maintenance screen.  On this screen tap the "Delete Schedule File", "Delete Medicine File", and "Delete Run Date File" buttons.  Verify each of the displayed records counts indicates 0 records.  Then  exit the File Maintenance screen.

2. Entering the medicine schedule is the next step. Tap the "Medicine Entries" button to get into the Medicine screen. All field values are required.  Enter:

A new run date record (runDate.txt) will be created when the first medicine entry is saved.  A series of schedule records (schedule.txt) will be created after each medicine record is saved.  Exit the "Medicine Entries" screen after all the medicines have been entered.

3.  View the current day's medicine schedule by tapping the "Today's Medicine" button.  The medicine schedule is listed in chronological order with all entries set as "Not Taken" by default. 

4.  When a dosage of medicine is either "Taken" or "Skipped", double tap on the corresponding medicine row to open and update screen.  Enter a value for Taken (Taken, Skipped, Not Taken) and a subjective value for wellness (1=bad  ...  9=good).  Save the entry and exit the update screen.  The medicine schedule screen will show the updated value..

5.  To view a line graph of the wellness values for the medicines, tap the "History Graph" button.  Two medicines can be plotted with a line graph of the wellness values.

6.  To view Help, tap the MENU button and then the "Help" button.

7.  To view the About screen, tap the MENU button and then the "About" button.

Screen Captures API 10 and API 16

1.  Main Screen.

                   Android Emulator 2.3.3 (API 10)                                  Android Emulator 4.1.2 (API 16)


2. Medicine Entry Screen (showing validation).

                   Android Emulator 2.3.3 (API 10)                                  Android Emulator 4.1.2 (API 16)


3. Scheduled Medicine List View.

                   Android Emulator 2.3.3 (API 10)                                  Android Emulator 4.1.2 (API 16)


4.  Dosage Entry Screen (clicked entry on list view).

                   Android Emulator 2.3.3 (API 10)                                  Android Emulator 4.1.2 (API 16)


5.  Dosage Entry Screen (with spinner open).

                   Android Emulator 2.3.3 (API 10)                                  Android Emulator 4.1.2 (API 16)


6. History Graph for Current Day.

                   Android Emulator 2.3.3 (API 10)                                  Android Emulator 4.1.2 (API 16)


7. File Maintenance Screen.

                   Android Emulator 2.3.3 (API 10)                                  Android Emulator 4.1.2 (API 16)


8. About Screen.

                   Android Emulator 2.3.3 (API 10)                                  Android Emulator 4.1.2 (API 16)


9. Help Screen.

                   Android Emulator 2.3.3 (API 10)                                  Android Emulator 4.1.2 (API 16)


Top