Try this code (from post #3 in the first link I posted) and see if it lists any apps, if it does, then it should be able to open a PDF file:
B4X:
Dim pm As PackageManager
Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_VIEW, "file://")
Intent1.SetType("application/pdf")
For Each cn As String In pm.queryIntentActivities (Intent1)
Log(cn)
Next
I have this piece of code ' open Pdf Document Try Dim in As Intent in.Initialize(in.ACTION_VIEW, "") Starter.Provider.SetFileUriAsIntentData(in, PdfFile) in.SetType("application/pdf")...
Dim pm As PackageManager 'phone library
Dim in1 As Intent
in1.Initialize("android.nfc.action.TECH_DISCOVERED", "")
For Each s As String In pm.QueryIntentActivities(in1)
Log(s)
Next
Try this code (from post #3 in the first link I posted) and see if it lists any apps, if it does, then it should be able to open a PDF file:
B4X:
Dim pm As PackageManager
Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_VIEW, "file://")
Intent1.SetType("application/pdf")
For Each cn As String In pm.queryIntentActivities (Intent1)
Log(cn)
Next