Question Is it possible to automatically open the rear display when the camera is turned on? - Xiaomi Mi 11 Ultra

Hello everyone,
As you know, when the icon in the upper left is pressed, the image is projected onto the rear display. It's annoying to press this icon every time the camera is opened. Can I make it open automatically by changing a value with the Setedit application?

Yes, but after restart it will be off
1 - go to camera settings, set "preserve settings" to ON, Autostart - ON
2 - switch on rear display in camera, then minimize camera app
3- in recent app make sure camera app is locked, so won't be closed by MIUI
After this when open camera, rear display is already ON, check if it works for you and let me know

Thank you but I am looking for a permanent solution.

Up.

Up.

Plase help me guys

Without re-compiling the camera app with modified code, you're out of luck my friend.
As a die-hard Tasker user, you could make a task and add it to the home screen that opens the camera app and then use AutoInput to look for and select the rear screen display button upon launch with said task.

Chr0m3Chaos said:
Without re-compiling the camera app with modified code, you're out of luck my friend.
As a die-hard Tasker user, you could make a task and add it to the home screen that opens the camera app and then use AutoInput to look for and select the rear screen display button upon launch with said task.
Click to expand...
Click to collapse
I use Tasker but I don't know how to prepare a task. Can you help me with this?

Related

[Q] Quick camera (tasker, ICS, lockscreen)

A nice quick camera app is "quickest camera". Unfortunately with no camera button on the i9000 and a lock screen it takes about 10 seconds to respond and then usually the moment has gone.
The best I can do do far is to:
use Tasker to
sense when the phone is on it's left side (a gesture is another way)
disable the lock screen
...and then run quickest camera.
(the screen is automatically relocked)
However:
- this happens everytime you put the phone on it's side so no landscape mode
- setting a button combination like vol down + power only while in the lockscreen would be quicker and probably save battery but I only see buttons as a task not a context...
- quickest camera isn't that quick. An app thatdoes use any UI might be quicker
Related threads:
http://forum.xda-developers.com/showthread.php?t=1110775
http://forum.xda-developers.com/showthread.php?t=745787
Notes:
Don't seem to need the secure settings plugin anymore for this particular thing:
http://forum.xda-developers.com/showthread.php?t=1217767&page=2
A little intro to tasker: http://forum.xda-developers.com/showpost.php?p=14923270&postcount=55
A big thread on tasker:
http://forum.xda-developers.com/showthread.php?t=1110775&page=81
Ok... no responses.
Thinking laterally, any of the Gingerbread alternative unlock screens can do it but none afaik can maintain a pattern or code unlock as well as the quick camera.
Edit to avoid bump:
Its possible to set shake to camera but it costs a bit of battery. Personally I'd like it to only do this when lock screen is on but I can't get tasker to detect the lock screen... please throw me a bone
jago25_98 said:
Ok... no responses.
Thinking laterally, any of the Gingerbread alternative unlock screens can do it but none afaik can maintain a pattern or code unlock as well as the quick camera.
Edit to avoid bump:
Its possible to set shake to camera but it costs a bit of battery. Personally I'd like it to only do this when lock screen is on but I can't get tasker to detect the lock screen... please throw me a bone
Click to expand...
Click to collapse
I know this is really old... but having just started getting really into tasker I was kind of excited to respond. LOL.
So here's what I'd do, you CAN in the curent version of tasker detect if the screen is OFF and therefore it's presumed the lock would be activated... The way I currently run my tasker set up is off of variables. Basically the logic works like this "if the screen turns off... set the "@LockScreen" variable to "1". So your profile logic would be be... if "LockScreen" variable is 1 AND the phone is shaken, run this particular task (turn on the camera).
If you haven't figured this out yet, I hope this is helpful. Now I'm off to create a variant of this!
btate0121 said:
I know this is really old... but having just started getting really into tasker I was kind of excited to respond. LOL.
So here's what I'd do, you CAN in the curent version of tasker detect if the screen is OFF and therefore it's presumed the lock would be activated... The way I currently run my tasker set up is off of variables. Basically the logic works like this "if the screen turns off... set the "@LockScreen" variable to "1". So your profile logic would be be... if "LockScreen" variable is 1 AND the phone is shaken, run this particular task (turn on the camera).
If you haven't figured this out yet, I hope this is helpful. Now I'm off to create a variant of this!
Click to expand...
Click to collapse
Cheers!
I never did get it working so the feedback is much appreciated. I'll give it a go later

Turn Equalizer On When Headset Plugged In

I downloaded Tasker with the intent of doing one single action - turning my equalizer on whenever I plug in my earphones, as the topic title might suggest.
Is this possible? The app I use has an option to put a shortcut on my home screen that turns it on without actually opening the app. Is there a way that I can set Tasker to perform this same fucntion?
(Additionally: is there a way to set it to ignore the function if the equalizer is already on? And is it possible to set it to turn the equalizer off in the same way (there's a home screen shortcut provided for that too) when I unplug my earphones?)
You can do that, but you need to have "autoShortcut"
Sorry, I can't link to it, but search for it on google play
Or actually, you don't need it, you can do it by running scripts that emulate screen touches, but option one is the easiest by far
(EDIT: You need root to emulate screen touches)
You can launch shortcuts within Tasker by selecting "All" in the launch application task (to show all applications installed) then simply long-press on the app you installed and it will bring up relevant activities that you can directly launch.

Gripes with new p20 pro

Hi, I recently got my p20 Pro and have some gripes if someone can help.
1. I like to use blue light filter. I want to use it all the time. Problem I have is, phone seems to turn it on and off depending on ambient light. I don't want this. There is some setting in display about automatically adjusting display based on ambient light and I have switched it off but no luck.
2. I installed nova launcher (prime version) and am struggling to use it. I want to add apps to homescreen and also to the bottom of screen. I cant do that. When I long press on home screen, I get option for setting, wallpaper and widgets but I can't seem to add apps.
3. I think the answer to this is No, but is there any way to get notification on always on display?
4. Is there a camera shortcut that can be used to lsu ch camera quickly even when inside phone. My old S7 had a shortcut by double tap home button.
Any help please.
Edited to add 4th question..
Hi, I recently got my p20 Pro and have some gripes if someone can help.
1. I like to use blue light filter. I want to use it all the time. Problem I have is, phone seems to turn it on and off depending on ambient light. I don't want this. There is some setting in display about automatically adjusting display based on ambient light and I have switched it off but no luck.
I don't think there is a way to do this, other than use a third party app that does the same thing.
2. I installed nova launcher (prime version) and am struggling to use it. I want to add apps to homescreen and also to the bottom of screen. I cant do that. When I long press on home screen, I get option for setting, wallpaper and widgets but I can't seem to add apps.
For Nova, you go into your main drawer and just hold down the app and then you can drag it to your homescreen
3. I think the answer to this is No, but is there any way to get notification on always on display?
No notifications on the ambient display, unless EMUI 9.0 as fixed this. However 8.0 and 8.1 do not have this function.
4. Is there a camera shortcut that can be used to lsu ch camera quickly even when inside phone. My old S7 had a shortcut by double tap home button.
The only quick action button you have for the camera is to go into its settings and choose the "ultra snapshot" option right at the bottom of the settings menu. This will give you the option of double pressing the volume down to take a quick snapshot and gets the camera activated.
Any help please.

Tasker keep screen on Android 12 issue

Hi,
I have set up the display timeout option with the settings below but it doesn't seem to work. I am using an oppo phone on Android 12.
Create a new task. Select the “+” button. Select “Display” followed by “Display timeout” Select the time span you want to set and then save. Now select “Profile” and click “+” and then “Applications” Mark the applications for which you want to activate this Tasker profile.
Then I open the app but after 15 seconds the screen turns off which is the default device screen timeout.
Is there no way to override this? Maybe get tasker to somehow keep interacting with the screen to keep it on?
I've tried this on a few apps and have got two different messages..
One says screen will stay on for 15 seconds which is the system screen time out.
Other says tasker will keep screen on but still times out after 15 seconds.
Really want this to work as some apps like games I don't want timing out after 15 seconds and I don't want to increase the system time to couple of mins for every app.
Hi,
I have the same problem on my OPPO A74 with Android 11 ((ColorOS Version V11.1). It seems impossible to create a task to change the screen time out; not in connection with a profile, shortcut or widget. The amazing thing, though - when you test the task in Tasker it works perfectly fine.
Media Volume, I think, also doesn't work. Other app connected profiles like autorotate or display brightness work well. I wanted to test more but I can't find the time.
I really miss the screen timeout though. It drains the battery too much to set it constantly to 15 minutes or so, but for some apps less simply is annoying.
The developer created some apk to help with some OPPO related problems, unfortunately, it didn't help with this one (sorry, I can't remember exactly what it was).
A kind of workaround: Once you've activated the Developer Options an your phone you can enable "Keep screen on while charging". When you need longer screen time, just plug into a charger.
But using a Tasker Profile would be much nicer.
Hope somebody knows a better trick.
Not sure if following could help your situation ( only for your gaming situation )
Create a new Profile, choose > apps > add your game apps in it. click left top arrow when finisning add gaming apps.
Tasker will pops-up task list > creat new task > Screen > Turn on.
** when above profile is complete , click the task when you are still in Profile list. Hold the task, it should pops-up with option exit task. Choose this as exit task.
Play around to see if this profile is working when gaming apps in foreground, screen never turn off.
EDIT: Try first not move the task as exit task. ( make the task as normal entry task )
eeeemc said:
Not sure if following could help your situation ( only for your gaming situation )
Create a new Profile, choose > apps > add your game apps in it. click left top arrow when finisning add gaming apps.
Tasker will pops-up task list > creat new task > Screen > Turn on.
** when above profile is complete , click the task when you are still in Profile list. Hold the task, it should pops-up with option exit task. Choose this as exit task.
Play around to see if this profile is working when gaming apps in foreground, screen never turn off.
Click to expand...
Click to collapse
Thanks for your reply.
Creating the profile is not the problem. It just seems that Tasker cannot change the system's setting. As mentioned, there is no problem when you create a profile allowing the screen to rotate using a speciffic app (and others as well ) I have no idea, why it does not work for the screen timeout.
Dreamcatcher0664 said:
Thanks for your reply.
Creating the profile is not the problem. It just seems that Tasker cannot change the system's setting. As mentioned, there is no problem when you create a profile allowing the screen to rotate using a speciffic app (and others as well ) I have no idea, why it does not work for the screen timeout.
Click to expand...
Click to collapse
I use no screen timeout, I use "screen turn on" in your situation as my op., enough I've not tried it on my Samsung A71.
eeeemc said:
I use no screen timeout, I use "screen turn on" in your situation as my op., enough I've not tried it on my Samsung A71.
Click to expand...
Click to collapse
"Display / turn on" works fine when I want the screen to turn on with a notification. But the screen turns dark after the system timeout has passed. I've also tried "Display / Stay On / with Wireless, AC or USB Power" and with the AutoInput Plugin "Screen Off Or On: Turn On / Timeout Never" but the screen always turns dark.
Those Profiles always worked on my other Smartphones (LG -D405, LG-K10 and Moto G6). I believe, it's the ColorOs that's causing the trouble.
Dreamcatcher0664 said:
"Display / turn on" works fine when I want the screen to turn on with a notification. But the screen turns dark after the system timeout has passed. I've also tried "Display / Stay On / with Wireless, AC or USB Power" and with the AutoInput Plugin "Screen Off Or On: Turn On / Timeout Never" but the screen always turns dark.
Those Profiles always worked on my other Smartphones (LG -D405, LG-K10 and Moto G6). I believe, it's the ColorOs that's causing the trouble.
Click to expand...
Click to collapse
below is a task ONLY FOR ROOTED DEVICE., no harm to try even if your's not root.
New task , run shell command , in the command input
there is a button 'use root' , check that button also.
settings put system screen_off_timeout 200000
** 200000 I'm not sure sure equals to how many second., just give it a try and if you get a longer screen on time from your issue it means it is working.
also, make another separate task, search for 'custom setting'. look up from there I thingk it is in system something about screen timeout.
EDIT: run shell command task suggest you run it manually., than see if it works. if not, restart device to check if it requires a restart in order to accept new timeout settings.
eeeemc said:
below is a task ONLY FOR ROOTED DEVICE., no harm to try even if your's not root.
New task , run shell command , in the command input
there is a button 'use root' , check that button also.
settings put system screen_off_timeout 200000
** 200000 I'm not sure sure equals to how many second., just give it a try and if you get a longer screen on time from your issue it means it is working.
also, make another separate task, search for 'custom setting'. look up from there I thingk it is in system something about screen timeout.
EDIT: run shell command task suggest you run it manually., than see if it works. if not, restart device to check if it requires a restart in order to accept new timeout settings.
Click to expand...
Click to collapse
I feel like I'm in Star Trek - "To boldly go, where no one has gone before" XD
When I try your suggestion, I only receive the message that my device isn't rooted.
Btw, for some tasks it is necessary to enable the Write Secure Setting Permission (f.e. Set Assistant), where xou have to setup ADB on your PC. Would such a procedure be registered by the phone as rooting? Anyway, I don't think I would dare to do something I know so little of.
Another solution I was thinking of, is it possible to create a tasker quick tile/ quick setting to change the system screen timeout.
So instead of having it change for certain apps which isn't working at the moment.
Maybe if we can change it from the system so will be for all apps. You can create two separate quick tiles to toggle between different screen timeout settings.
The newest version of Tasker (6.0.9) comes with Tasky.
Tasky offers the possibility to activate premade profiles. One of them is "Keep Display Awake For Apps". And that one works with my OPPO Phone.
I also tried "Auto-Mute Apps", another profile I couldn't get working. It also works fine.
To switch between Tasker and Tasky you just have to click on the "Three-Dots-Button" in the right top corner. It's not like switching apps but using different user interfaces.
Good luck!
- Sorry to say, but this seems to work for some apps and not for others. But at least sometimes it does work.
Thanks for replying back to this thread to inform me. I tried it and it works for the app I was trying to make it work for which is good! Makes it so much easier now.

How to add more functionality to dual screen case?

The settings for it are not enough. How to make an app automatically open up on the dual screen even if the app is opened on the phone screen? When cycling through open apps in the recents list how to stop apps appearing on the phone screen which then gets pulled away from the dual screen? Essentially lock the app to only show on the dual screen? Also macrodroid doesnt seem to work with dual screen how to make it work?
I have not found a way to lock it but with macrodroid I set up a macro that takes a program to wide mode whenever I open the app.
In macrodroid set trigger for application launched (select application), set action to switch wide mode-turn on.
Separately I added a floating button that works on all apps, I just selected toggle rather than on for action

Categories

Resources