FYI: iPad flat on it's back: X:0 Y: Z:100
iPad vertical, but parallel with user (facing user): X: 96 (+-1) Y:0 Z:0 45 degree forward: (top side is where no volume controls): X:45 Y:0 Z:-88 (+-1) If you turn around device volume controls are up: X:-45 Y:0 Z:-88 (+-1) For example you tilting top right corner (non volume control) and side: X: 64 Y: 38 Z: -64 Opposite ( left bottom the volume control is on right and side: X: 65 Y:-25 Z:65 Note: here you have it going on its face almost. You can use it for calculating how far they should tilt it, before you trigger some event or something else. You can always calculate your own numbers. Just for fun! Sent from my iPad On May 18, 2011, at 6:46 PM, Remi Grumeau <[email protected]> wrote: > What about this one? > http://www.we-are-gurus.com/labs/device-motion.html > > Remi > > On May 19, 2011, at 3:36 AM, Lee Andron <[email protected]> wrote: > >> Sorry, let me amend that last comment, nothing shows up on the iPad. >> >> Sent from my iPad >> >> On May 18, 2011, at 8:40 PM, Remi Grumeau <[email protected]> wrote: >> >>> Could anybody test this please? >>> http://www.we-are-gurus.com/labs/device-orientation.html >>> >>> Seems to work fine on iPhone4 here... >>> >>> Remi >>> >>> On Wed, May 18, 2011 at 20:47, Mogens Beltoft <[email protected]> wrote: >>>> Oh, so you're the ninja :) >>>> >>>> I (deepo) mailed you a fix for the pocket-speedo a while back, as I >>>> couldn't >>>> get your webapp working. I believe that was around the time the name >>>> changed >>>> to iOS. >>>> >>>> I tried to take my little demo webapp on a car trip this afternoon, and >>>> could still not get speed or altitude. But the position did update. Has >>>> anybody else tried my webapp? >>>> >>>> /Mogens >>>> >>>> On 18-05-2011 01:22, Ryan Seddon wrote: >>>>>> >>>>>> I can't get my iPhone 4 iOS 4.3.3 to display neither heading nor >>>>>> altitude. I guess Apple didn't implement that? >>>>> >>>>> heading and speed can only be read when you're moving at a steady >>>>> pace, only then will these properties start to read usable values. I >>>>> made a speedometer[1] web app that will display your speed by reading >>>>> the GPS properties. >>>>> >>>>> [1] http://www.thecssninja.com/javascript/pocket-speedo >>>>> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "iPhoneWebDev" 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/iphonewebdev?hl=en. >>>> >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "iPhoneWebDev" 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/iphonewebdev?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "iPhoneWebDev" 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/iphonewebdev?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" 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/iphonewebdev?hl=en. > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" 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/iphonewebdev?hl=en.
