Breakthrough

3-26-17

The Project:
The past few weeks have been a blur. Just before spring break I had spent the week really getting to know how the Fitbit apis worked. I found ways of getting average heart rate, and current heart rate but had no way of seeing how to past heart rate data to use for my stress sensor. After further research I found that if I could use my app as a private app, and ask Fitbit nicely for permission I could access second by second heart rate data. Bellow will be a link to what the file looks like. Not to much got done during spring break besides lots of thought on how to parse the data in the files. As soon as I got back on got to work on some ideas and got a little stuck. So in the mean time I started to work on the music player of the app to play soothing songs to relax the user. Shortly after creating my music player I took a look at some methods to parse data and came up with a way to just get the .json bits out that massive text file using keywords that only show up from the Fitbit data. I will be storing the .jsons now into three separate files. One for activities, one for sleep, and another for heartrate. The next big step now is to make all this data useful to the user and work with android studio now to parse the .json files.
Link to sample Fitbit Data