I check which applications installed on the device can view pdf files:
B4X:
Sub openPdf
Private in As Intent
in.Initialize(in.ACTION_VIEW, "file://")
in.SetType("application/pdf")
Dim pm As PackageManager
Log(pm.queryIntentActivities (in))
End Sub
I get the Package Name.
Next, you can go to the application settings.
There is some discrepancy between the Package Name and what the device shows when selecting the default application. It will not be easy for the user to figure it out.
I have attached an example. What can you advise?