You probably want the SensorManager and SensorListener: http://code.google.com/android/reference/android/hardware/SensorManager.html
http://code.google.com/android/reference/android/hardware/SensorListener.html Also TiltLander has a nice concise example: http://code.google.com/p/tiltlander/source/browse/trunk/TiltLander/src/org/hermit/tiltlander/LunarLander.java. On Mar 1, 5:18 pm, J. Pablo Fernández <[email protected]> wrote: > Hello, > > Is there an easy way to detect shaking of the phone? Or do I have to > implement it myself by monitoring the sensors? If so, any hints on how > shaking looks like from the sensor point of view? > > Thanks. > -- > J. Pablo Fernández <[email protected]> (http://pupeno.com) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

