kgehmlich / coen390-team-d Goto Github PK
View Code? Open in Web Editor NEWA heartrate monitoring app for firefighters
A heartrate monitoring app for firefighters
When navigating back to the main activity using the Toolbar back button with the monitoring active, the UI of the Main Activity will reset to default values and nothing will update. Logcat shows that the monitoring is still happening in the background.
This also happens when the UI redraws on a screen rotation event
This does not happen when navigating back using the hardware back button.
Add a toggle to activate/de-activate heart rate monitor
I think doing this with SharedPreferences would be ok. I've added my take on A2 in GoogleDrive\ELEC390 Shared Folder\Code_Ref if it can be useful. (N.B. my take is not perfect... but it worked ok)
One simple thing to consider for heart rate analysis is heart rate training zones
http://www.fitdigits.com/personalized-heart-rate-zones.html
We can also do some HRV analysis if we pull the heartbeat timestamps from the data packets. There seems to be a lot of prior literature on HRV analysis.
https://en.wikipedia.org/wiki/Heart_rate_variability#HRV_analysis_software
Add button to UI to send alert. Functionality is not yet necessary, a toast message will be enough for now.
If the user's HR is below the alert treshold, the data on the server does not seem to get updated (as per what we can see on the Team Monitoring Activity).
Step one requires an Android Studio project in which to develop the app.
Basic communication is required with the sensor so that testing can begin.
UI needs to be designed and implemented. Functionality is not required yet (i.e. buttons etc. can be simple placeholders, no underlying code is needed).
Heart rate is reported as a single (unsigned) byte, which is interpreted as signed in the sample code. This ends up reporting the heart rate as negative when it goes over 127.
Currently there is no feedback when the user click "Connect."
In order to have it update itself, the work being done should be in a separate thread so that the main thread isn't blocked and can redraw the button. When the work thread returns, it can update the button.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.