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

Lists in Python -

android - can not access to progress bar in an other activity -

html - Not able to access next element of an array javascript -