I have thought about new hack :
Select a default application for a given time only, then revert to open application selection (something like expire default application selection)
How to :
Replace "Use by default for this action." checkbox and text by a drop down list in the application section window (named : "complete action with"). The list could contain items like :
No default (no default app is set)
Remember for 10 minutes (set selected app as default for 10 minutes only, then revert to no default)
Remember for 30 minutes
Remember for 1 hour
Always use by default for this action (current behaviour available)
Sample use case :
Click a link in Gmail
Browser selection appears
Select "Remember for 30 minutes"
Tap "Opera Mini" (because you don't have 3G coverage where you are for instance)
Opera mini opens
Go back to Gmail, tap another link
Opera mini opens straight away (as the default app, no app selection window)
After 30 minutes, when the browser is triggered, the "Application selection" window appears again and you can chose stock browser for a while if you have better network coverage...
What do you think about that ? Has anyone seen that before?
If no, if a friendly developper could implement that, it would be awesome!
It would help a lot when juggling with different apps in different contexts lasting a given time.
up
Anyone interested in that hack ?
I have rephrased my idea realizing that it was not clear enough in my original post. Could some of you guys give me a feedback on that?
I think it could be really helpful especially with the different browsers avalaible and the various features they each offer.
Let me know, even if you think it's useless...
The closest thing I have ever found is Smart Browser Chooser.
It isn't exactly what you've suggested, but it lets you assign different browsers based on network connection.
I'm not a developer, but from what I can tell, in order to make something that works like you have suggested, the entire default action chooser would have to be replaced.
Or, as an alternative, a new "default action" program could be created, similar to Smart Browser Chooser, that would be the actual default you would choose for whatever context you want. When this program is ran, it would list the options in the way you have indicated. However, as far as I can see, this new program would have to be written specifically for each android context.
Thanks for your answer!
This could do the trick, I'll try your app and see how it turns out. Though I suspect it's not as flexible as what I expected.
I would still fancy an overlying app on top of default app selection to achieve temporary default (excellent idea!). If anyone ever step by something like that, let me know
Hi guys,
I used to use Microsoft launcher as my default launcher in all phones but oppo find n does not let you do that unfortunately.
I didn't want to try adb methods (of uninstalling default launcher) that may lead to boot loop stucking if something went wrong.
So I thought to share with you finally a simple trick I came up with by using Tasker to automatically launch your favorite launcher based on UI change of default color os launcher of oppo.
First you need to install Tasker and give it all permissions required
GitHub - joaomgcd/Tasker-Permissions: Utility to easily grant Tasker permissions
Utility to easily grant Tasker permissions. Contribute to joaomgcd/Tasker-Permissions development by creating an account on GitHub.
github.com
Then you add a task and profile as follows:
Tasks > add > name it > add an action > search for if > add if condition: %WIN ~ Page 1 of 2** (**please note depends on how many pages you have on default launcher home screen, you should name the window label above (page 1 of 2 or page 1 of 3... Etc)) > from the add button > add another condition > %WIN ~ Page 2 of 2 (so the profile works on all pages of home screen) > add another action > search for wait > wait > 3 ms (milliseconds) > ok > add another action > app > launch app > Microsoft launcher (your launcher) > ok
Add profile > event > app changed > all apps (from bottom in Tasker) > system launcher
Choose the task you created with above actions in the profile
Done
Result:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just a quick question: did you test this on Android 13 or Android 11? Because I'm using Android 13, and sometimes it works, sometimes it doesn't.
nimumo said:
Just a quick question: did you test this on Android 13 or Android 11? Because I'm using Android 13, and sometimes it works, sometimes it doesn't.
Click to expand...
Click to collapse
I am using Android 13...
Have been using this method for couple of days with no issues ))
In that case, I'm doing something wrong, for sure, because, sometimes, the Microsoft Launcher doesn't appear. As an example, if I press the Task Switcher button, and then press the Home button, I still get the default Oppo Launcher. Also, sometimes, when I press the Task Switch button, it opens and closes immediately. Just to clarify, I don't use gestures for the Back, Home and Task Switcher; I'm using the onscreen buttons.
The only difference is that I already used ADB to change the default system launcher to Microsoft Launcher. Could this be the problem?
nimumo said:
In that case, I'm doing something wrong, for sure, because, sometimes, the Microsoft Launcher doesn't appear. As an example, if I press the Task Switcher button, and then press the Home button, I still get the default Oppo Launcher. Also, sometimes, when I press the Task Switch button, it opens and closes immediately. Just to clarify, I don't use gestures for the Back, Home and Task Switcher; I'm using the onscreen buttons.
The only difference is that I already used ADB to change the default system launcher to Microsoft Launcher. Could this be the problem?
Click to expand...
Click to collapse
Yes it could be.
I am using Tasker to automatically launch Microsoft launcher based on oppo default color os launcher itself, so if you uninstalled the default launcher Tasker won't recognize the UI change of default launcher and hence of course won't give you correct actions...
You may reinstall the default launcher and try Tasker method and please let me know if it works fine afterwards..
Just to clarify, I managed to get your solution up and running. Note that I didn't uninstall the default launcher; I only forced Microsoft Launcher to be the default launcher, using ADB commands.
The problem was something that we always forget: battery optimization. I had to change all the settings related to battery management (Battery menu and also App menu) and had to allow to run in background (Tasker App). Now I can have your script running 99% of the time.
The problem I noticed is if I press the Task Switcher button, for a short period I can see the running apps but then, it shows my home screen. If I press the Task Switch 3 times in a row, the Task Switch stays on but, as soon I press the Home button, it doesn't revert to Microsoft Launcher. To solve that, I need to disable and enable Tasker again.
Your solution, for me, it's not 100% fault proof, but it's much better that having to press the Microsoft Launcher button that I had to put on the Home screen, so, I thank you for sharing this other method for having a different launcher
If only we could put a "decent" ROM...
nimumo said:
Just to clarify, I managed to get your solution up and running. Note that I didn't uninstall the default launcher; I only forced Microsoft Launcher to be the default launcher, using ADB commands.
The problem was something that we always forget: battery optimization. I had to change all the settings related to battery management (Battery menu and also App menu) and had to allow to run in background (Tasker App). Now I can have your script running 99% of the time.
The problem I noticed is if I press the Task Switcher button, for a short period I can see the running apps but then, it shows my home screen. If I press the Task Switch 3 times in a row, the Task Switch stays on but, as soon I press the Home button, it doesn't revert to Microsoft Launcher. To solve that, I need to disable and enable Tasker again.
Your solution, for me, it's not 100% fault proof, but it's much better that having to press the Microsoft Launcher button that I had to put on the Home screen, so, I thank you for sharing this other method for having a different launcher
If only we could put a "decent" ROM...
Click to expand...
Click to collapse
Yeah you are right. Tasker method have some bugs and sometimes it forces to home screen of Microsoft launcher in somewhere in settings.
Then like you said turn off the profile and turn on again later...
Thank you for your reply and yeah "If only we could put a "decent" ROM... "... Can't agree more
nimumo said:
Just to clarify, I managed to get your solution up and running. Note that I didn't uninstall the default launcher; I only forced Microsoft Launcher to be the default launcher, using ADB commands.
The problem was something that we always forget: battery optimization. I had to change all the settings related to battery management (Battery menu and also App menu) and had to allow to run in background (Tasker App). Now I can have your script running 99% of the time.
The problem I noticed is if I press the Task Switcher button, for a short period I can see the running apps but then, it shows my home screen. If I press the Task Switch 3 times in a row, the Task Switch stays on but, as soon I press the Home button, it doesn't revert to Microsoft Launcher. To solve that, I need to disable and enable Tasker again.
Your solution, for me, it's not 100% fault proof, but it's much better that having to press the Microsoft Launcher button that I had to put on the Home screen, so, I thank you for sharing this other method for having a different launcher
If only we could put a "decent" ROM...
Click to expand...
Click to collapse
Good news I was able to fix that bug by adding a condition of the profile only works on home screen.
So it doesn't not work on recent tasks or settings that related to oppo system launcher app (lock screen wallpaper settings for example).
I will edit the original post adding the "if" condition...
Tasker will read the window label which is unique for each window in same app, so the actions will only be executed on home screen.
Please note the window label of oppo system launcher changes based on number of pages you have on system launcher home screen.
It's called "page 1 of x"
Where x is the number of pages you have in the launcher it self.
I was trying to reproduce your steps, but I'm getting stuck on the "if" condition. Whatever I do, I cannot put the "green" line (the one next to the conditions), it's always "red". I already tried to use Tasker Permission Manager to sort my Tasker's permissions (all green now) but looks like Tasker cannot "read" the WINDOW LABEL from the phone. I say this because if I try to press the PLAY button on the bottom of the task, it doesn't do anything. If I remove the "if" condition, it works as previously.
What am I missing?
nimumo said:
I was trying to reproduce your steps, but I'm getting stuck on the "if" condition. Whatever I do, I cannot put the "green" line (the one next to the conditions), it's always "red". I already tried to use Tasker Permission Manager to sort my Tasker's permissions (all green now) but looks like Tasker cannot "read" the WINDOW LABEL from the phone. I say this because if I try to press the PLAY button on the bottom of the task, it doesn't do anything. If I remove the "if" condition, it works as previously.
What am I missing?
Click to expand...
Click to collapse
The green line means the if condition is true and this only happens when you go to home screen which gives the label name page1 of...
It won't go green unless Tasker reads home screen label.
I took the screen shot after pressing play then going to home screen then going back to Tasker using gestures. It was not on purpose
Regardless the line going to green or stays red, if it works then it works. Even though you may not be able to make the line goes to green...
After a lot of testing, I finally found the reason why this method was not working for me:
Tasker App Check Method - Accessibility
I found that I had this option set to "App Usage Stats" (because I never changed it) and it must be set to "Accessibility"
After changing to this option (Tasker) and after activating Tasker in Accessibility menu (phone), it started to work.
But I found that this method doesn't work all the time. As example, if you click on the "Task Switcher" button, choose an opened app and them go back (via the "Back" button), the Microsoft Launcher doesn't open.
But, instead of complaining, I want to thank you for this method because it's works, and it's easy to set up.
nimumo said:
After a lot of testing, I finally found the reason why this method was not working for me:
Tasker App Check Method - Accessibility
I found that I had this option set to "App Usage Stats" (because I never changed it) and it must be set to "Accessibility"
After changing to this option (Tasker) and after activating Tasker in Accessibility menu (phone), it started to work.
But I found that this method doesn't work all the time. As example, if you click on the "Task Switcher" button, choose an opened app and them go back (via the "Back" button), the Microsoft Launcher doesn't open.
But, instead of complaining, I want to thank you for this method because it's works, and it's easy to set up.
Click to expand...
Click to collapse
Thank you my friend for sharing your experience
I really appreciate any ono who shares his feedback
Wish you all the best
nimumo said:
I only forced Microsoft Launcher to be the default launcher, using ADB commands.
Click to expand...
Click to collapse
Could you share the exact command? When i tried it awhile back, i wasnt sure which microsoft package to use.
Hadron001 said:
Could you share the exact command? When i tried it awhile back, i wasnt sure which microsoft package to use.
Click to expand...
Click to collapse
The code
cmd package set-home-activity "com.microsoft.launcher/com.microsoft.launcher.Launcher"
And the task under adb wifi
But my advise is not to use it as when you go home screen and want to open recent tasks it messes up and you won't see any open recent applications, just lines..
(try it you will know what I mean)
Also it goes to oppo launcher sometimes and you have to go to home screen several times to get back to Microsoft launcher
Other thing Microsoft launcher icons stops working sometimes with me when I used that method
So I went back to my method of this original thread
Much stable and just a mask of oppo launcher on the top so everything goes fine (just like pressing Microsoft launcher icon to start it normally every time you go to home screen
Thanks a lot for the advice. I did try:
Code:
adb shell
pm disable com.android.launcher
pm enable com.microsoft.launcher
Which worked, except the 'swipe from bottom' gesture completely stops working. Can't swipe to exit foreground app, nor can you swipe and hold to see all recent apps.
I'm going to look around to see why that's the case, but maybe I'll just have to use your method eventually.
Hadron001 said:
Thanks a lot for the advice. I did try:
Code:
adb shell
pm disable com.android.launcher
pm enable com.microsoft.launcher
Which worked, except the 'swipe from bottom' gesture completely stops working. Can't swipe to exit foreground app, nor can you swipe and hold to see all recent apps.
I'm going to look around to see why that's the case, but maybe I'll just have to use your method eventually.
Click to expand...
Click to collapse
Thank you for sharing your experience.
I guess recent tasks and home buttons are forced to be used by oppo launcher some how since even by not disabling the oppo launcher completely still some odd behavior happens by recent tasks and home button swiping.
Wish you the best of luck.
hesham1216 said:
Hi guys,
I used to use Microsoft launcher as my default launcher in all phones but oppo find n does not let you do that unfortunately.
I didn't want to try adb methods (of uninstalling default launcher) that may lead to boot loop stucking if something went wrong.
So I thought to share with you finally a simple trick I came up with by using Tasker to automatically launch your favorite launcher based on UI change of default color os launcher of oppo.
First you need to install Tasker and give it all permissions required
GitHub - joaomgcd/Tasker-Permissions: Utility to easily grant Tasker permissions
Utility to easily grant Tasker permissions. Contribute to joaomgcd/Tasker-Permissions development by creating an account on GitHub.
github.com
Then you add a task and profile as follows:
Tasks > add > name it > add an action > search for if > add if condition: %WIN ~ Page 1 of 2** (**please note depends on how many pages you have on default launcher home screen, you should name the window label above (page 1 of 2 or page 1 of 3... Etc)) > from the add button > add another condition > %WIN ~ Page 2 of 2 (so the profile works on all pages of home screen) > add another action > search for wait > wait > 3 ms (milliseconds) > ok > add another action > app > launch app > Microsoft launcher (your launcher) > ok
Add profile > event > app changed > all apps (from bottom in Tasker) > system launcher
Choose the task you created with above actions in the profile
Done
Result:
View attachment 5780089
Click to expand...
Click to collapse
Hello
I try uses in my Oppo Find X6 Pro 0 china
I dont now why not can make correctly , please helped
Maybe have correct import in files for tasker ?
I use Nova launcher, but if disable system launcher ( in adb ) not working recent tasks - button last app
Hadron001 said:
Thanks a lot for the advice. I did try:
Code:
adb shell
pm disable com.android.launcher
pm enable com.microsoft.launcher
Which worked, except the 'swipe from bottom' gesture completely stops working. Can't swipe to exit foreground app, nor can you swipe and hold to see all recent apps.
I'm going to look around to see why that's the case, but maybe I'll just have to use your method eventually.
Click to expand...
Click to collapse
Hi, thanks for your efforts. Have you by any chance been able to achieve further progress on setting up the Microsoft Launcher as the default launcher?
Thanks a lot !
Best regards, Lars
hesham1216 said:
Hi guys,
I used to use Microsoft launcher as my default launcher in all phones but oppo find n does not let you do that unfortunately.
I didn't want to try adb methods (of uninstalling default launcher) that may lead to boot loop stucking if something went wrong.
So I thought to share with you finally a simple trick I came up with by using Tasker to automatically launch your favorite launcher based on UI change of default color os launcher of oppo.
First you need to install Tasker and give it all permissions required
GitHub - joaomgcd/Tasker-Permissions: Utility to easily grant Tasker permissions
Utility to easily grant Tasker permissions. Contribute to joaomgcd/Tasker-Permissions development by creating an account on GitHub.
github.com
Then you add a task and profile as follows:
Tasks > add > name it > add an action > search for if > add if condition: %WIN ~ Page 1 of 2** (**please note depends on how many pages you have on default launcher home screen, you should name the window label above (page 1 of 2 or page 1 of 3... Etc)) > from the add button > add another condition > %WIN ~ Page 2 of 2 (so the profile works on all pages of home screen) > add another action > search for wait > wait > 3 ms (milliseconds) > ok > add another action > app > launch app > Microsoft launcher (your launcher) > ok
Add profile > event > app changed > all apps (from bottom in Tasker) > system launcher
Choose the task you created with above actions in the profile
Done
Result:
View attachment 5780089
Click to expand...
Click to collapse
I have done everything in Tasker but when i use gestures to swipe up from the bottom it always goes back to the system launcher ?