2 Proofread; fixed pluralisation grammar, added some useful formatting and clarified word order.
source | link

How to checkdo I determine a device's default axis orientation on device?

I am developing a game which uses thewith accelerometer to move the charactercontrols. ItThis works finewell on all the mobile phonesmobile phones I've tested it on.

  However, when testing on a tablettablet, it seems the y and x axisaxes are reversed I assume, presumably because of the devicesdevice's default orientation asis landscape.

What is the best practice toHow can I identify the default orientation of the device so that I can, to set my axisaxes accordingly?  

(I'm using Android SDK 1.5 - 1.7.)

How to check default axis orientation on device?

I am developing a game which uses the accelerometer to move the character. It works fine on all the mobile phones tested on.

  However when testing on a tablet, it seems the y and x axis are reversed I assume because of the devices default orientation as landscape.

What is the best practice to identify the default orientation of the device so that I can set my axis accordingly?  

Android SDK 1.5 - 1.7

How do I determine a device's default orientation?

I am developing a game with accelerometer controls. This works well on all the mobile phones I've tested it on. However, when testing on a tablet, the y and x axes are reversed, presumably because the device's default orientation is landscape.

How can I identify the default orientation of the device, to set my axes accordingly?

(I'm using Android SDK 1.5 - 1.7.)

    Tweeted twitter.com/#!/StackGameDev/status/332357722584514560
1
source | link

How to check default axis orientation on device?

I am developing a game which uses the accelerometer to move the character. It works fine on all the mobile phones tested on.

However when testing on a tablet, it seems the y and x axis are reversed I assume because of the devices default orientation as landscape.

What is the best practice to identify the default orientation of the device so that I can set my axis accordingly?

Android SDK 1.5 - 1.7