Re: [android-developers] Default orientation of device

2010-12-29 Thread Marek Urbaniak
There is such a concept in Android. Check e.g.,:
http://android-developers.blogspot.com/2010/09/brace-for-future.html(sections 
where Motorola Charm and Flipout are mentioned)

I could not believe there is no API call to check device natural 
orientation.

I posted this question on Stack Overflow hoping to get info about how to 
check it or other way to solve the problem I have faced (which indeed is not 
very uncommon).
http://stackoverflow.com/questions/4553650/how-to-check-device-natural-default-orientation-on-android-i-e-get-landscape

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Default orientation of device

2010-03-21 Thread neha
How can i get the default orientation of a Android device.

DROID has portrait as the default orientation whereas many of the
android tablets have landscape as the default orientation. I want to
determine the default orientation of a android device through an OS
call and this orientation should be independent of the device position/
rotation.

I will be of great help if somebody can suggest a mechanism to achieve
the same.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Default orientation of device

2010-03-21 Thread Mark Murphy
neha wrote:
 How can i get the default orientation of a Android device.

There is no such concept in Android, AFAIK.

What is the business problem you are trying to solve?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.