Inspiration
GSK Pharmaceuticals were seeing a solution to monitor sleep in either a mobile app or taking a separate approach.
What it does
It helps a user by recording the audio while they sleep. The user can then view their sleep results upon waking up and adjust their lifestyle accordingly.
How we built it
We built a mobile Android application using Android Studio. We first collected audio recordings using an Async Task while the user was sleeping. Then we converted the audio recording to data that we can plug into a 3rd party graphing API to display the results accordingly.
Challenges we ran into
We were faced with big challenges when it came to data management. We had a metadata object which consisted of smallData objects which contained the sounds of the user. We had problems when it came to handling the data within the async task and passing it out of the async task and to the graphing API.
Accomplishments that we're proud of
We are very proud of the end product and the GUI and how sleek and user-friendly it is(very minimalistic design).
What we learned
We learned a lot about Android Studio. We learned how to record audio and how to neatly organize and analyze it to produce meaningful results. We also learned a lot about background threads and data handling.
What's next for Sleeptracker
We could implement machine learning algorithms into this application where our algorithm starts to adjust to user's sleeping styles to provide them with more accurate information. One approach may be to use Google Analytics. Could also hook it up to a database to permanently persist data so that you can sign in on multiple devices to view your sleeping data.
Log in or sign up for Devpost to join the conversation.