tufanv Expert Licensed User Longtime User Oct 7, 2015 #1 Hello, While a user is in my app, how can i detect shake event and do something? ty
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2015 #2 Currently there is no simple way to detect a shake event. It is possible to monitor the accelerometer and look for shakes (similar to this solution: https://www.b4x.com/android/forum/threads/android-shake-event-with-phonesensors.9857/#content) Upvote 0
Currently there is no simple way to detect a shake event. It is possible to monitor the accelerometer and look for shakes (similar to this solution: https://www.b4x.com/android/forum/threads/android-shake-event-with-phonesensors.9857/#content)
narek adonts Well-Known Member Licensed User Longtime User Oct 7, 2015 #3 I saw on inet that there is an event UIEventSubtypeMotionShake Maybe Erek can implement it Upvote 0
tufanv Expert Licensed User Longtime User Oct 7, 2015 #4 no need for that. As Erel said, with motions and after some trying i managed to listen to shake event =) ty Upvote 0
no need for that. As Erel said, with motions and after some trying i managed to listen to shake event =) ty