I'm not a pro Android programmer, but I developed my custom browser app. Easy application which contain a WebView
and a SearchView
. Now I want that when I tap on a link my browser app is opened by default, but I can't set it by default because it doesn't appear into "select browser" popup(I can see only the stock browser and Chrome). The question is, there is the possibility to set my app as default browser app ? And if yes, how ?
PS: Sorry if this question was already been done but I searched a lot on the internet but could not find anything that helped me.
To set your app is display on "Select browser" popup, add this code in activity tag in manifest file:
<intent-filter >
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:scheme="https" />
</intent-filter>
Now you app appears in Select browser popup, make it default by clicking Always button.