In the doc for the second one: "This interface is deprecated, use SensorEventListener<http://developer.android.com/reference/android/hardware/SensorEventListener.html> instead."
On Sun, Oct 4, 2009 at 6:24 AM, DD <[email protected]> wrote: > > Hi, > > I'm just wondering...on Android Web, I could find two completely > opposite ways of defining which direction the positive X acceleration > is. > > http://developer.android.com/reference/android/hardware/SensorEvent.html > At the bottom, it says "When the device lies flat on a table and is > pushed on its left side toward the right, the x acceleration value is > positive. " > > However, > http://developer.android.com/reference/android/hardware/SensorListener.html > , > it says "When the device is pushed on its left side toward the right, > the x acceleration value is negative (the device applies a reaction > force to the push toward the left) " > > errr.....why? THanks a lot! > > DD > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

