Comments (1)
Implemented those training Status:
public enum TRAINING_STATUS{
OVER_TRAINING,
GOOD,
LOW,
REST;
public static TRAINING_STATUS DEFAULT = REST;
public static Double OVER_TRAINING_HR_THRESHOLD = 150.0;
public static Double GOOD_TRAINING_HR_THRESHOLD = 100.0;
public static Double LOW_TRAINING_HR_THRESHOLD = 80.0;
}
The current training status is determined according to the heartrate thresholds
from trainerapp.
Related Issues (18)
- Implement a way to store some settings in the app (the name of the trainer, eventually cumulative data of previous training sessions, the type of connection) HOT 1
- Make GATTServer class a Service and implement the comunication between the GATTServer and the Activity via Broadcast messages HOT 1
- GATTserver broadcast trainer information + characteristics' descriptions HOT 1
- Add a method to stop GATT server broadcasting on demand / to resume GATT server broadcasting
- Implement the ListView Adapter, update the athlete class with all the infos to be shown, add a mechanism in the AthletesManager to notify the adapter when new data is available HOT 1
- Filter the connected devices that are recognised as athletes, at the moment every device connected to the GATT server is an athlete HOT 2
- add the services and corresponding characteristics for HeartRate, Movement HOT 3
- implement a AthleteDetailActivity that shows detailed infos on an athlete HOT 7
- The athlete object must contain infos on connection status HOT 1
- the ordering of the listview of athletes in the UI should be fixed HOT 1
- Move the code to manage the intent about athletes' updates from GATTServer class to AthletesManager class HOT 3
- when the GATTServer service stops itself, it should broadcast this info HOT 2
- move the icon of the app from the MainActivity body to its ToolBar so that there is more space available for the athletes list
- "A resource failed to call close" Investigate
- The athlete obj should have a avgHeartRate and some other aggregated data HOT 1
- add a sorting strategy of the athletes HOT 1
- The GATTServerService gets terminated after some minutes in the AthleteDetailsActivity HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trainerapp.