[android-developers] how to set the preferred rotation ?

2012-02-28 Thread mobidyc
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); and even with the disabled ACCELEROMETER_ROTATION setting, It doesn't work.

Re: [android-developers] how to set the preferred rotation ?

2012-02-28 Thread Alan Smith
Add to your manifest android:screeOrientation=portrait On Feb 29, 2012 1:09 AM, 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 :