Fwiw, if this is a constant value, it is better to set it in your
manifest with android:screenOrientation.

On Nov 6, 12:20 am, songs <[EMAIL PROTECTED]> wrote:
> You probably want to put the following in your activity's onCreate:
>
>    setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
>
> Cheers,
> Steve
>
> On Nov 5, 11:28 pm, "dailyLife"<[EMAIL PROTECTED]> wrote:
>
> > Hi,EveryOne.
> >   Today, I finally had to buy the G1, I have to write the software 
> > installed on the G1 above to see results, every time I open the keyboard, 
> > software, images are also displayed along with change.
>
> > Who can tell me how to set up as a straight vertical display shows that 
> > even open the keyboard show the same way.
--~--~---------~--~----~------------~-------~--~----~
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