Automatic sreen rotation depending on active app - Android Software Development

Hello.
I am looking for an app,that will have a customized list of apps,activating them will the screen rotate to landscape orientation automaticly(default is in portrait).
Example:
I start Office(Spreadsheet app) and I want it to automaticaly rotate to landscape. If I close it or switch to something else(of course,that's not in the list),it should rotate to portrait,after returning to this app it should again switch to landscape. Exactly,as iReader does,which has this feature included,but with all apps in configurable list.
I hate the automatic rotation depending on the sensor,so I want to do it this way or maybe manually.
Thanks for your tips in advance.

Related

[Q] Rotation lock on Nook color

To start, i have CM7 n176 installed on my Nook Color.
I like it so far but one thing I noticed is the lack of a "proper" rotation lock. I put proper in quotes because i am aware of the rotation lock that android has. The problem I have is that while I'm in landscape mode and want to lock it in landscape, i have to completely disable rotation to portrait in the menus. The rotation lock that android has (i have added it to the notification bar) automatically rotates back to portrait when enabled. Is there anyway to make the rotation lock in the notification bar function like the rotation lock on the iPad?
Could check out my thread on the agile lock free mod in themes. It will take you to my Dinc thread, and it has rotation in the menu.

Locking screen rotation?

I've enabled home screen rotation and true tablet UI as per http://forum.xda-developers.com/showthread.php?t=1800042
However I haven't found a solution to lock the screen in landscape mode. I've tried several apps and widgets that claim to do that but none work on the N7. All they do is force the screen in portrait mode.
Does anyone have any suggestions?
Maybe this will help..
Have home screen set to autorotate, then set your tablet to be autorotate on top via notification dropdown. Then put tablet in landscape mode by holding it that way. While its in landscape mode do to the notification bar (dropdown) and lock the rotation. It should stay landscape.
Great, that works. I hadn't thought to dig among the settings in the popup menu.

[Q] Auto rotate screen not working

I got Android Version 4.2.1, I have auto rotate set to on from Settings -> Accessibility, when I rotate it from portrait to landscape it is not working. But if any app gets oriented to landscape then I cannot rotate it back to portrait any more, it is getting locked.
Can someone please help me to figure out what is wrong?

[Q] Auto rotate not working

So my auto rotate is not working at all, apps that require landscape mode are fine and will rotate, but apps like youtube, any video viewing, or apps could run in landscape but are running in portrait because the autos rotate is not working. Can someone tell me what is up with my phone please? Thanks
Go to settings,display and make sure auto-rotate screen is ticked.
Screen rotation
mungo100 said:
Go to settings,display and make sure auto-rotate screen is ticked.
Click to expand...
Click to collapse
Ticking the box in Settings >> Display >> Auto screen rotate will allow apps like Google browser and CarHome Ultra to automatically run in landscape mode. You can use an app like Screen Orientation to pull down (like Power Toggles) and set the orientation, i.e., fixed as landscape or portrait ... but it does not set to automatic.
For the first time in years, I am running a stock Android smartphone, and am disappointed at how little Google seem to have picked from the developers who have either cooked some terrific ROMS (e.g., CM) and kernels, or developed apps like PowerTools.
How could Google release a smartphone with their OS where the Settings >> Display >> Auto screen orientation does not work?
The stock launcher doesn't support auto rotation it rotates in some apps not all, Try installing Apex Launcher its in the play store. Then go to behavior settings/screen orientation set it to 'auto rotate'

I want to switch to Portrait Mode

When I'm not using my TV I want it to function as a portrait mode picture frame. I have it set on a mount that can rotate from landscape to portrait. I've tried most of the set rotation like apps that are available in the google store. They will rotate the screen to portrait, but then the shield will rotate the screen and add giant black bars to the side.
Is there any way to modify the code in the shield to prevent it from doing this?

Categories

Resources