Gestures not working on Tizen Z3 mobile
By Jasvinder Khurana
23 Aug 2016 05:38
English
4 Replies
Hi,
I am trying to use Shake gesture on my Tizen mobile and on creating a gesture handle it returns me GESTURE_ERROR_NOT_SUPPORTED.
But as i know there are many applications which make use of shake event to perform their operations. So can anyone tell me the right way to get the shake event on tizen Z3 mobile.
Below is the code snippet i used
error = gesture_create(&ad->gesture_handle);
if(error == GESTURE_ERROR_NONE)
{
PRINT_MSG("gesture_create = Success (%d)", error);
}
else if(error == GESTURE_ERROR_NOT_SUPPORTED)
{
PRINT_MSG("gesture_create = GESTURE_ERROR_NOT_SUPPORTED (%d)", error);
}
gesture_start_recognition(ad->gesture_handle, GESTURE_SHAKE, GESTURE_OPTION_ALWAYS_ON, gesture_cb, NULL);
|
Thanks in advance
View Selected Answer
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------