No. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware
On Mon, Sep 17, 2012 at 11:47 PM, ahmed mehmood <[email protected]>wrote: > Hi , i want to lock android screen orientation to landscape for all apps . > Is there any way to do it ? > I have tried with this > > Settings.System.putInt(getContentResolver(),Settings.System.USER_ROTATION, > 1); > Settings.System.putInt(getContentResolver(),Settings.System.ACCELEROMETER_ROTATION, > 0); > > But it does not working . Any Help ?? > > -- > 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 -- 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

