Hello
I cannot open pdf file and get below error (i have a pdf reader in my device)
My code :
I cannot open pdf file and get below error (i have a pdf reader in my device)
My code :
B4X:
Dim it As Intent
it.Initialize(it.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal & "/", "invoice.pdf"))
it.SetType("application/pdf")
StartActivity(it)