Hi, I'd like some small utility that will automatically change my screen orientation to landscape whenever I run a specific program. E.g. for TomTom it would be good for the main desktop, not just TomTom, to change to landscape so calls/texts come in the right way round (as I use the device landscape for SatNav).
Alternative could be for it to rotate to landscape when charging in the car charger (but not via USB charger!).
You could use MortScript to launch TomTom and rotate the screen.
I can't think of any 'background' application that continuously monitors what application is active and change the screen orientation accordingly, though.
I think it's impossible to detect whether you're charging over USB or over the car charger, though. You *might* be able to detect whether there is an actual USB connection, and deduce from that... maybe.
ZeBoxx is correct I think. It would be easy enough (again!) to have a background monitor, but you tell it you're in car mode or 0 gravity mode or whatever, and it switches by your preferences.
Also switching by active app is doable (VJBigPhone does a similar thing).
I believe BeyondTheTech has posted some info on preparing mortscripts for auto rotation. Clever chap.
Well, if it's easy enough to do - I'm all for modularity of systems.
So if a background application could be made that basically monitors what app is active, and run another application based on an application active state changes, then auto-rotation-by-app and such is easily done in conjunction with one of those screen rotation programs.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?