Any way to change default browser?

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):

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:

FrameXX

Well-known member
Default browser package is not part of any settings table and thus cannot be changed with set system settings action.
 

chaoscreater

Active member
Of course, you can change the browser while soaking. You can search the Internet for ways to change or, for example:
Go to Start and type Default Programs, then select Default Programs in the search results. Go to the Browser section and select the browser currently displayed in the list, then select the one you need.
Are you trolling? How is this any relevant to using MacroDroid, or automation? Please don't include useless answers that we already know. Not to mention that there is no "Start" on Android. Your answer makes no sense and is absolutely rubbish.
 
Last edited:

Endercraft

Moderator (& bug finder :D)
Are you trolling? How is this any relevant to using MacroDroid, or automation? Please don't include useless answers that we already know. Not to mention that there is no "Start" on Android. Your answer makes no sense and is absolutely rubbish.
All the weird stuff you can find on the Internet....
 
Top