Hi all.

I've researched various threads where people ask how you get the
default screen orientation (i.e. tablets vs standard portrait devices)
but the general answer seems to be that there isn't a way to do this,
and that there shouldn't be - i.e. you build your app to suit the
orientation you want, or you let the user decide.

However, I have a problem. One of my apps uses the SensorEventListener
to get an angle, from which I make some calculations and display some
graphics. A Motorola Xoom users has told me that my app is 180 degrees
out. So clearly this device is returning different sensor values to
all the devices I've tested on.

I'm making the assumption that it's because it's a tablet, and I need
to adjust my calculations accordingly. But I can't find a way to get
this information from the device.

Or - maybe my assumption is wrong, and there's another reason why the
Xoom returns different sensor values?

Any thoughts on this appreciated.

-- 
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

Reply via email to