Languages

Menu
Sites
Language
No gesture recognition is supported on Gear S2

Hello,

 

According to the document, the following gestures are supported in Gesture Recognition API in Tizen Native API. However, my tests showed that none of them is really supported. I always got GESTURE_ERROR_NOT_SUPPORTED error from gesture_start_recognition() function. 

 

Interestingly, gesture_is_supported() returns GESTURE_ERROR_NONE, but the value of "supported" parameter is false. 

 

I am using Tizen 2.3.1 on Gear S2. 

 

 
GESTURE_DOUBLE_TAP 

The mobile device is tapped twice

GESTURE_MOVE_TO_EAR 

The mobile device is moved near to an ear

GESTURE_NO_MOVE 

The mobile device is being stopped for a while

GESTURE_PICK_UP 

The mobile device is picked up

GESTURE_SHAKE 

The mobile device is quickly moved back and forth

GESTURE_SNAP 

The mobile device is moved along an axis and back

GESTURE_TILT 

The mobile device is tilted

GESTURE_TURN_FACE_DOWN 

The mobile device is flipped from face to back

GESTURE_WRIST_UP 

The wearable device is moved and faced up

Responses

5 Replies
Jeongsu Kim

I think gesture apis are available on Tizen 2.3.1 but not supported by all Tizen device. So there is gesture_is_supported() to check it is available.

Unfortunately, it seems that that Gear S2 doesn't support it as you said.

 

If you need gesture recognition for ui application, you can use elm_gesture_layer().
https://developer.tizen.org/development/ui-practices/native-application/efl/ui-component-infrastructure-modules/handling-touch-gestures
https://developer.tizen.org/dev-guide/2.3.1/org.tizen.native.wearable.apireference/group__Elm__Gesture__Layer.html

Jinghai Rao

Hi Jeongsu,

 

Thank you for the reply. Unfortunately, I am developing a service application that has no UI. I want to detect a special gesture to start a function. 

 

Is there a place where I can find which function is supported in which device? It is pretty frustrating for debugging for long time, and then find out that your device is simply not supported. 

 

Thanks.

 

Jinghai

Alex Dem

fyi: For Z3 mobiles gestures are unavailable with gesture_is_supported() even.
Alexey.

Jean Yang

Sometime if the gesture you wanted is not supported, you can try to get related sensor data and caculate them by your own.

for sensor guides, you can reference:

https://developer.tizen.org/development/guides/native-application/system/sensor

Jean Yang

For example, you can anaylze accelerometer data to determine which gesture happen, all the gestures you list should can be recognize by analyze data from accelerometer.