This app was mentioned in 33 comments, with an average of 1.70 upvotes
Given the surprising number of apps which don't natively support landscape orientation, coupled with the propensity to use the Pixel C in landscape due to the keyboard, Rotation Locker has become essential for me.
There's an app I've used for years on my Nexus 7 (which has a broken sensor) called "Rotation Locker". I also used it on an old phone to use it as a dashcam.
If you tap, it will temporarily change orientation. If you hold the word down, it will run as a background process and keep forcing it.
Try this:
And leave the rest as defaults; setting the Package is probably unnecessary as the Action is quite specific; setting the Class is probably unnecessary too. If all you're doing is launching an app then I suggest instead using the Launch App action, and long press the app you want to see the list of activities.
By the way, if you want to control rotation with Tasker then I suggest Rotation Locker, it installs as a plugin.
I'll have to think about the first part (detect night mode), but I think it could be achieved with AutoTools somehow.
For the second part (locking screen orientation), you can take a look at this app with Tasker integration OR you can check this out by using AutoTools.
I think the issue is that on most devices the homescreen itself won't go to landscape, and if you're launching the Task from the homescreen, you may have to force the landscape orientation on the device.
You can do this using either <strong>Rotation Locker</strong> or <strong>AutoTools</strong> and both you could trigger from within your Task before or after you show the Scene.
Give that a try ;)
There's an app that can do that and has Tasker integration named Rotation Locker. I think that should take of exactly what you want to do ;)
Another option is the AutoTools plugin - in its Secure Settings section which can lock rotation in Landscape (As well as Reverse Landscape).
I like Rotation Locker for its simplicity. You launch it, it displays a dialog with three options, which you can long-press to enable persistent mode;
It also includes a Tasker/Locale plugin so you can automate the rotation switch based on different profiles.
You can have Tasker force the rotation to landscape using this app/plugin - <strong>Rotation Locker</strong>.
A better way might be to use the App / Plugin <strong>Rotation Locker</strong>.
So you'd use the same Profile with the App context, but in the Task - use Rotation Locker to put device into landscape, which makes it landscape (and keeps it that way) even before you rotate the device.
As an Exit Task you'd again just use Rotation Locker to revert to Auto-Rotate (or add an additional Tasker action to turn AR on/off).
There's also the app Rotation Locker which has Tasker integration, so you can trigger it from an App Profile and make the screen always maintain landscape if you wish.
To keep the screen on, I could never get it to switch to "never shut off", but I have a task to set up to temporarily change the display timeout to 23 hours - which is effectively the same thing. Set your profile to change the timeout when you connect to the bluetooth.
To force landscape, you can use the rotation locker plugin instead of manually using the app. I don't actually do this one anymore, so I forgot that I was going through the plugin to do it instead of natively through tasker. Home screen and everything would stay in landscape though - just set your profile to invoke the plugin to force landscape when it connects to the bluetooth like everything else and you should be fine (I had mine set for headset + charging).
Still don't get why you're running both nav and waze at the same time though - I would think that's most likely your real issue.
edit - instead of rotation locker, try Rotation - Orientation Manager. It also has a tasker plugin, and seems to be more stable, but I don't think it's free.
In version 6 rotation rotated the screen, and https://play.google.com/store/apps/details?id=com.devasque.rotationlocker could force rotation regardless of what apps wanted. I used it to force landscape on my laptop, but you could force portrait.
In version 8.1 landscape uses the whole screen and portrait uses the centre part only, still upright. This is actually better on a laptop, because having the picture sideways when an app wants portrait is a problem, but not for your application.
Found this little app useful when using projector already with Beam 2 and now with Voga V.
https://play.google.com/store/apps/details?id=com.devasque.rotationlocker&hl=fi
(Long press on any orientation profile to activate a persistent background service. (This is useful if your phone seems to exit the locked orientation all of a sudden due to low memory resources))
Really?? Hmm. Try this app that also has Tasker plugin capability so you can control it from Tasker - <strong>Rotation Locker</strong>.
It'll put Tasker into Landscape whether it likes it or not lol.
You can invert the screen using the app <strong>Rotation Locker</strong> which has Tasker integration. It can 'lock' the display in Portrait or Landscape, and that way you could have it displayed upside-down by simply flipping the device, since once locked - turning the device to any other direction has no effect.
Not sure if this solves your issue, but worth a try :)
oh my goodness, thanks for this! didn't think it would be possible without hacking the apk or using Xposed to get it done! I'm going to keep this app in my list, however it's made me look further for Tasker integration at this https://play.google.com/store/apps/details?id=com.devasque.rotationlocker&hl=en. it does the same thing except it has integration with Tasker...
Yes, it is possible, I've just now done it, and if I can do it, you can too.
You'll need Rotation Locker, which can act as a plugin. You'll also need to turn off auto-rotate, as Tasker+Rotation Locker will be in charge of rotation.
Create a profile, State / Sensor / Orientation / Face Up, have it invoke the Rotation Locker plugin with Landscape.
Create another profile, State / Sensor / Orientation / Right Side, have it invoke the Rotation Locker plugin with Portrait.
Back all the way out of Tasker to commit the changes, then enjoy your topsy-turvy state of affairs. You can lay the phone down (face up) or slightly tilt it if you want to turn off the two profiles. Tasker is pretty picky about its Orientation state, you'll need to be reasonably precise to trigger the change.
Edit: of course, you could add more contexts to these, like for a specific application at certain times of the day. Tasker makes it easy.
Settings > Display > rotation > make sure all rotation modes are checked, along with autorotate.
Then pull down the notification bar and switch to grid view. Press the +. select "Add" and select orientation. reopen the notification bar in grid view, rotate device to desired orientation and select the orientation option. You screen should lock to the appropriate rotation.
If this doesn't work, you're SOL unless you use this app on the play store.
In your Power Off Tasks task, you don't need to have all those actions check your %Power variable, you can insert a Stop action that stops the task if %Power eq 1.
You don't need separate Power Any and Not Power Any profiles. Expand the Power Any profile and long press on the Power On Tasks task, you'll be invited to Link an exit task, choose the Power Off Tasks task.
It's odd to see that you've chosen "Power On Tasks" and "Power Off Tasks" as your task names. They should be either "Power On Task" and "Power Off Task" or "Power On Actions" and "Power Off Actions" or simply "Power On" and "Power Off". It helps you relate to others in Tasker if you use Tasker's language (one or more Actions comprise a Task).
You probably don't need all three location-based Secure Settings actions; setting Location Mode to High Accuracy or Location Off should take care of the others.
If you decide to capture the screen again (you don't have a proper screen capture method, you need to take photographs??), it would help to rotate the screen so it's portrait, so you don't need to take as many photos. If your tablet is mounted, you can use Rotation Locker to change orientation.
Night mode might not be working because you have the profile turned off. Or it might be that your ROM doesn't support the Night Mode action, some don't have any effect; you might only see an effect in applications that specifically check it (and maybe Car Launcher Pro does, I don't know). Are you aware that you disabled the Auto Brightness action? Long-press it, Enable will be one of your choices. You might consider using the Twilight plugin instead of hard-coding hours.
For your Overheating task, you might consider playing some sound (Beep or Morse Code or play a song);
>I am having problems with the "Not power on" profile, it wont activate when I turn my cars ignition off.
Are you sure that turning your ignition off cuts power to the outlet? Some cars have it powered on regardless of the ignition position. You could try unplugging it, see if that makes a difference.
I used to use this app with Tasker integration. It can force orientation or auto-rotate.
https://play.google.com/store/apps/details?id=com.devasque.rotationlocker
Yes the app/plugin <strong>Rotation Locker</strong> is good stuff ;)
Well there's an app that also acts as a Tasker plugin - have you tried using <strong>Rotation Locker</strong>?
I've used this one, not pretty, but it gets the job done https://play.google.com/store/apps/details?id=com.devasque.rotationlocker
If https://play.google.com/store/apps/details?id=com.devasque.rotationlocker works with N then it can be combined with Tasker
This one has a Tasker plug-in, which is nice:
https://play.google.com/store/apps/details?id=com.devasque.rotationlocker
Give this app a shot https://play.google.com/store/apps/details?id=com.devasque.rotationlocker&hl=en
This, but there's probably better out there.
https://play.google.com/store/apps/details?id=com.devasque.rotationlocker
Rotation locker - https://play.google.com/store/apps/details?id=com.devasque.rotationlocker
No permissions required.
You can achieve this using a plugin, Rotation Locker, to lock your display on landscape https://play.google.com/store/apps/details?id=com.devasque.rotationlocker