Le mardi 28 février 2012 20:55:14 UTC+1, Yan a écrit :
>
> Add to your manifest 
> android:screenOrientation="landscape" 
>
> On Feb 26, 1:13 pm, mobidyc <mobi...@gmail.com> wrote: 
> > Hi, 
> > 
> > I want to set the preferred orientation for the system, How can I 
> > define it ? 
> > 
> > I tried to define in landscape with : 
> > android.provider.Settings.System.putInt(getContentResolver(), 
> > "user_rotation", Surface.ROTATION_90); 


I don't want to set the orientation for my activity or my application, I 
already found how to do this.
I want to define the preferred orientation for the android system.

In this way, with the ACCELEROMETER_ROTATION defined to false, if I launch 
for example the browser, or any other application, it will start and stay  
in the orientation defined.
  

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

Reply via email to