I’m developing an android app and among other functionality I need to open some urls in external web browser. Can I programmatically set a default application for that, so the user won’t be able to choose from the list of available browsers? I mean, I want to set default browser only for my app but not for the whole operating system.
Share
Yes, for this you can force your application to always open native android browser only. For this you have to identify the launching
ActivityofBrowserapplication, something like this: