Here is a really good example: http://mysticlakesoftware.blogspot.com/2009/07/sensor-accelerometer-magnetics.html
This will get you pointed in the right direction. Richard Schilling Root Wireless On Jul 22, 2:54 pm, Mike <[email protected]> wrote: > Hello, > i am in dire need of some assistance. > Assume the device is held in landscape position, the display facing to > the user, what i'd like to detect is if the device is rotated clock > wise or counter clock wise. > Sounds pretty simple, but i am trying for two days now without > success. > Could you please teach me how to archive it. > > Thanks in advance, > Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

