Java code for took my meds android app