detect Shake in android -


i trying hit api when user shake device 10 times. have tried many git simple , stack overflow solution non of them can solve problem. of git library working detecting shake before 10 times or after 10 times. i have tried library
and this library. please give me valuable solution.

by using sensorlistener

please check ticked answer...

you have adjust shake_threshold value achieve this

how detect shake event android?

thank you!


Comments

Popular posts from this blog

Combining PHP Registration and Login into one class with multiple functions in one PHP file -

Android volley - avoid multiple requests of the same kind to the server? -

magento2 - Magento 2 admin grid add filter to collection -