vibration is not working

vibration is not working

BY 08 Jul 2015 Native Application Development
int error, num;
error = device_haptic_get_count(&num);
haptic_device_h handle;
haptic_effect_h effect_handle;
error = device_haptic_open(0, &handle);
error = device_haptic_vibrate(handle, 1000, 1000, &effect_handle);

hello,

This is my code I learned this from haptic(not vibration) guide at the below link:

https://developer.tizen.org/documentation/guides/native-application/system/device

 

But my Z1 device is not vibrating at all,

Is there anyone who succesfully vibrate Z1 device in native app?

 

 

Written by