Re: [android-developers] Lock Orientation at runtime

2015-01-02 Thread Steve Gabrilowitz
If you can't do it any other way you could make each of your activities into a library module, then create 2 extensions of each - one with orientation locked in the manifest and the other not. Now simply choose which activity to start with your lock orientation setting! On Jan 2, 2015 9:57 PM, "Na

[android-developers] Lock Orientation at runtime

2015-01-02 Thread Nathan
I wanted to know if it is possible to lock the orientation of an activity at runtime. I know it is possible: 1. To restrict a particular activity to portrait or landscape by means of the manifest file. 2. For the user to restrict all activities to stay in the current orientation

[android-developers] Re: Updating widget width - height programmatically on device rotation

2015-01-02 Thread Vineet Shukla
Thanks Jose for your valuable input. It is very unfortunate that api call is not working while being provided. On Wednesday, 31 December 2014 21:04:21 UTC+5:30, Jose_GD wrote: > > Unfortunately you cannot adjust width and height with a normal app. Only > an AppWidgetHost can do that (i.e. a lau