In an app, I'm searching if at least one pdf viewer is installed, in order to open pdf files there.
In order to do that I use:
B4X:
Dim INTENT1 As Intent
INTENT1.Initialize(INTENT1.ACTION_VIEW,pdfFileName)
INTENT1.SetType("application/pdf")
INTENT1.Flags=1...