iOS Question Open local pdf file

mrossen

Active Member
Licensed User
Longtime User
I can open a pdf file from my website like this:

B4X:
Dim Path = "http://www.lpastech.dk/el-pas.com/E-Cruise/" & sBrand & "/Installation%20Manuals/" & sPath As String   
App.OpenURL(Path)

Then Ios will open the pdf outside my app.

I would like to do the same if I already have downloadet the pdf.

I try something like this, but nothing happens

B4X:
Dim Path = "file://" & File.Combine(File.DirDocuments, "leaflet_dk.pdf")
App.OpenURL(Path)

Can this be done ?

Anyone have a idea ?

Mogens
 

mrossen

Active Member
Licensed User
Longtime User
Yes I have seen that.

But I don't think that is what I want

Thanks, by the way

Mogens
 
Upvote 0
Top