chaoscreater
Active member
Does anyone know of any methods to change the default browser?
I'm aware you can open a URL with a non-default browser, something like this (extracted from a Tasker example):
However, that's not what I want. I need to set the default browser, so that ANY url I open will automatically open with the default browser. I know how to set the default browser manually of course, but based on certain situations, I may need to automate this.
I also looked at SYSTEM / SECURE settings and can't seem to find anything relevant.
At the moment, my workaround is to first send intent to:
Action:
android.settings.MANAGE_DEFAULT_APPS_SETTINGS
and then use UI Interaction to set my browser of choice as the default. But this is kinda crappy.
I'm aware you can open a URL with a non-default browser, something like this (extracted from a Tasker example):
A5: Send Intent [
Action: android.intent.action.VIEW
Cat: Default
Data: %asfile1
Package: org.mozilla.focus
Target: Activity ]
However, that's not what I want. I need to set the default browser, so that ANY url I open will automatically open with the default browser. I know how to set the default browser manually of course, but based on certain situations, I may need to automate this.
I also looked at SYSTEM / SECURE settings and can't seem to find anything relevant.
At the moment, my workaround is to first send intent to:
Action:
android.settings.MANAGE_DEFAULT_APPS_SETTINGS
and then use UI Interaction to set my browser of choice as the default. But this is kinda crappy.
Last edited: