Hi , i use this code to open PDF file :
sDossierVoulu = "MonPDF.pdf"
but this don't work . I Think that "File.DirInternal" not return a URI string
if i try :
it's ok...
Do you know how to use " File.DirInternal" with iIntent.Initialize function ?
B4X:
Dim iIntent As Intent
iIntent.Initialize(iIntent.ACTION_VIEW, File.DirInternal & "/Supports/" & sDossierVoulu)
iIntent.SetType("application/pdf")
StartActivity(iIntent)
sDossierVoulu = "MonPDF.pdf"
but this don't work . I Think that "File.DirInternal" not return a URI string
if i try :
B4X:
iIntent.Initialize(iIntent.ACTION_VIEW, "file:///Supports/" & sDossierVoulu)
it's ok...
Do you know how to use " File.DirInternal" with iIntent.Initialize function ?