this library tries to open a the vibrator device file -"/sys/class/
timed_output/vibrator/enable" and write to the file when api -
vibrator_on is called.
the vibrator_on API returns 0 if sucess else returns the ERROR NUMBER.
when we try to call this API from our feedback plugin library this
API fails and returns an error number 13 which indicates that the we
dont have the PERMISSION to open the file although we have have set
the permissions in the manifest file of the java feedback
adapter(android.permission.VIBRATE)
we solved it by changing the permission of enable
(adb shell chmod 777 /sys/class/timed_output/vibrator/enable) since
the phone was rooted
we cant do the same on a different phone which has no root
permissions.
we have already ported QTfeedback module using JNI and it works well
without any modifications.
so please help us.
Thanks and Regards,
Ajay
--
unsubscribe: android-kerne...@googlegroups.com
website: http://groups.google.com/group/android-kernel