Languages

Menu
Sites
Language
Human activity and Sensors

Hello,

 

I am developing a native app that will be running on fit 2 and gear S2/S3. The app gathers data from sensors and human activity.

In the list of sensors supported since Tizen 3.0, I’ve seen that there is a SENSOR_HUMAN_STRESS_MONITOR, but it is not documented. Do you know where to find documentation on that sensor?

Also, there is a SENSOR_HUMAN_SLEEP_DETECTOR, which return the state: sleeping, awake or unknown, but the gear seems to be able to detect different phases during sleep time: restless, light or motionless, as well as the overall rating: poor, fair, good etc. Same thing, I haven’t found how to get those info in the documentation. Is there some more detailed documentation on that sensor?

Last thing, my gear can detect if I’m riding a bike or doing some workout, but I can’t find in the documentation the only motions available are: walking, running, in vehicle etc. Is there a way to get real time if I’m riding a bike or working out?

 

Thanks!

Responses

5 Replies
Armaan-Ul- Islam

Hello, I am sharing my view on the topics with you here:

1. I also didn't found any documentation on Stress monitor yet. Please check support for SENSOR_HUMAN_STRESS_MONITOR first.

    bool supported = false;

    sensor_is_supported(SENSOR_HUMAN_STRESS_MONITOR, &supported);
	if (!supported) {
		dlog_print(DLOG_INFO, "XYZ", "Stress Monitor not supported N");
		/* SENSOR_HUMAN_STRESS_MONITOR is not supported in the current device */
	}
	else {
		dlog_print(DLOG_INFO, "XYZ", "Stress Monitor supported Y");
	}

 

2.  You may have checked this link here:

https://developer.tizen.org/development/guides/native-application/location-and-sensors/device-sensors#sleep_monitor

That's what it says: The sleep state is SENSOR_SLEEP_STATE_UNKNOWN, SENSOR_SLEEP_STATE_WAKE, or SENSOR_SLEEP_STATE_SLEEP.

 

Now different phases during sleep time: restless, light or motionless, as well as the overall rating: poor, fair, good are the features I know that S health is offering.  S health is an application having its own algorithm to take such decisions in the background based on several input signals (not only sleep monitor I guess). Samsung Digital SDK API refernces gave me that hint, but this SDK is not for wearable application development.

Link: http://img-developer.samsung.com/onlinedocs/health/index.html, http://developer.samsung.com/health

 

3. May be you are refering to something like this:

https://developer.tizen.org/development/api-references/native-application?redirect=/dev-guide/3.0.0/org.tizen.native.wearable.apireference/group__CAPI__CONTEXT__ACTIVITY__MODULE.html#gae17e97a1a51a9d5d5d8330f29f4a895d

 

To detect bike riding, work out like : push ups, weight lifting you have to develop your own algorith. That's what I've seen the developers doing, extracting features utilizing the raw sensor data, like:

http://focusmotion.io/wp-content/uploads/2015/08/Screen-Shot-2015-08-20-at-8.00.09-PM1.png

http://focusmotion.io/wp-content/uploads/2015/08/GymBicepCurl1.png

 

You may use Gesture Recognition, Activity Recognition, Speed data, Accelerometer data etc and relevant sensors to achieve such functionality.

dev madrad

Hello Fanny Huang,

Any updates in this topic?

 

Regards!

Choi

Hello, I'm developing a tizen wearbalenative app. It is very difficult to develop Pedometer. I'd like to know the full source code by any chance. Please help me.

anna eva

thanks