Capturing a shake.
Hello,
I'm trying to capture a shake gesture from the device. I saw a couple of examples that use phoneGap, so I assume it should be doable with the appery platform.
Specifically, I looked at:
https://gist.github.com/leecrossley/4...
and
https://gist.github.com/ucavus/5418463
I called the startWatch() function on page show, and stopWatch() on page hide.
I've turned on location services on my android device.
I've put a simple alert within the callback function.
However nothing happens on my android device. I'm not sure if the shake is getting detected.
Could anyone point me in the right direction?
Thanks.
-Jo