0

What acceleration characterization should be used to differentiate an intentional single shake-to-do-something shake versus other typical random or unintentional device motions?

hotpaw2
  • 70,107
  • 14
  • 90
  • 153

1 Answers1

1

Shaking can be detected by the OS itself. There's no need to do this yourself.

More info in this StackOverflow question:

How to use Shake API in iPhone SDK 3.0?

Community
  • 1
  • 1
Philippe Leybaert
  • 168,566
  • 31
  • 210
  • 223
  • Alas, I do need to do this myself, as I am capturing other acceleration data, such as the axis of the shake and time between each shake. However, I only want shakes, not "move the device so I can see it better", or motion due to the user walking, etc. – hotpaw2 Jan 09 '11 at 21:57