It really isn't that hard.  I went ahead and created a test project to
show the way I'm doing it.
I'll probably write a blog post about it.  See:
https://github.com/therevoltingx/android_orientation_test/blob/master/src/com/solrpg/orientation_test/DefaultActivity.java

On Tue, Sep 13, 2011 at 9:50 AM, Greg Donald <[email protected]> wrote:
>
>
>
> On Friday, September 9, 2011 10:44:24 PM UTC-5, TreKing wrote:
>>>
>>> At this point I'm going with
>>>
>>> setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_PORTRAIT );
>>>
>>>
>>>
>>> It's a sure thing.
>>
>> It's not
>
> Yup, it's not.
> I have crash logs (many of them, and for multiple resolutions) with devices
> having width > height when I explicitly call setRequestedOrientation(
> ActivityInfo.SCREEN_ORIENTATION_PORTRAIT ); in my onCreate().   WTF?  How is
> this even possible?
> This is a nightmare.
>
> --
> Greg Donald
>
> --
> 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



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx

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