08-27-2010 06:52 AM
I need to create an app where i need to implement some action when blackberry device is shaked. But I don't know how to track that shake event. I'm new in development for BB, so some code example or some algorythm for this will be most welcome. I found on forums many advices such as 'Look at AccelerometerDemo Sample' - I saw this sample and didn't find there anything that can help me to program shake event.
08-27-2010 07:03 AM
I don't believe there is a shake event.
See this post for more info:
08-27-2010 07:24 AM
Thanks for information! I have looked at that post and still don't know how to program using of the X,Y,Z movements coming from the accelerometer for determine a shake... May be someone has code example for this?