Inspiration

By 2030, it is estimated that diabetes will affect 54.9 million Americans, marking a 54% increase from 2015 to 2030. This upward trend amplifies the risk of hypoglycemia (low blood sugar levels), as individuals increasingly rely on daily insulin usage to manage their condition. Hypoglycemia poses serious consequences, such as coma, seizures, brain impairment, and even death. Given the seriousness of this disease, strictly monitoring glucose levels and insulin intakes is essential. However, doing so is neither an enjoyable nor intuitive process.

What it does

DieDiabetes! aims to simplify the process of glucose & insulin monitoring, with the ultimate goal of instilling confidence and ease to “conquer” the challenges associated with diabetes. As a mobile app, diabetic patients or caretakers can record glucose readings, insulin dosages intakes, meal types, and the amount of carbohydrates consumed throughout the day. In addition, a calculator is implemented based on formulas provided by the UCSF Diabetes Teaching Center, allowing users to calculate the total dosage of rapid-acting insulin needed to correct sugar levels after each meal.

How we built it

We built this application using Android Studio and the simulator embedded in the system. Our team used a combination of Kotlin, Java, and XML files. The whole application is built upon 6 different pages. Each page is based on a class called Activities, where each class has its own different features: a Sign-in page, a Profile page for personalization, a Home page, and a Carbohydrates calculator, an Insulin dosage calculator. For the API calls in the carbohydrates calculator, we used Edamam to get the nutrition data of the food. For the front end, interactive widgets, buttons, and text were utilized.

Challenges we ran into

Difficult challenges we ran into were implementing the API calls as it was difficult to use a new API on a new platform (both of which we have never used), alongside figuring out how to receive the data was challenging. Other challenges involved the dynamic calculation of carbohydrates. It was extremely tedious, needing to constantly monitor any changes made to the food types or weights using Textwatcher and Async for thread safety to overwrite calculations every time a change is detected.

Accomplishments that we're proud of

We are proud of creating our first mobile app ever! The learning process was nowhere close to easy, as we were unfamiliar with a lot of the libraries, classes, APIs and the platform itself.

What we learned

As this was our first time working with Android mobile studio, we had to learn the new libraries and classes while also learning how to use the platform. We also learned valuable front end and backend skills to create this mobile app.

What's next for DieDiabetes

We hope to implement a more robust system and add more quality-of-life features to make user interactivity easier. We also hope to include more insulin types as we are calculating dosage for Bolus only right now.

Built With

Share this project:

Updates