Languages

Menu
Sites
Language
Sensor data access for wearable SDK

I'm wondering if I can get the accelerometer and gyroscope data from Tizen wearable devices such as Gear 2?

If it possible, can I run a native application on wearable device side to process the sensor data?

 

Thanks in advance,

Responses

8 Replies
AVSukhov

Hello,

Wearable SDK supported only web app.

Jake Lee

Thanks for sharing information.

Then, is there a way to access sensor data such as 3 axis accelerometor or gyroscope data?

Thanks,

Michelle Somerville

You can use the deviceorientation & devicemotion event apis to get this data:

http://www.w3.org/TR/2011/WD-orientation-event-20111201

Don't forget to add the following features to your config.xml file:

http://tizen.org/feature/sensor.accelerometer
http://tizen.org/feature/sensor.gyroscope

 

 

Thijs Mergaert

One caveat here is that deviceorientation is currently not supported on the Gear 2, unfortunately.  devicemotion, however, is available.

Marco Buettner

SystemInfo should be your friend

Artyom Sinitsin

What about pulse meter? How to get info from it?

Alex Ashirov

Hi Artyom,

There is a similar thread on the Web forum

https://developer.tizen.org/forums/web-application-development/how-use-heart-rate-on-tizen-wearable-sdk

but it seems that solution has been still not found.

Victor Dibia

This is definitely Possible ...
Theres a post with sample code on that here ..
http://denvycom.com/blog/accelerometer-data-in-javascript-in-your-gear-2/