iOS Question Open a local file with default viewer

falbertini

Member
Licensed User
Longtime User
Is there a way to open a local file (pdf, doc, odt, etc) with default viewer in IOS ?
Something like ShellExecute in Vb..

In B4a I used this routine:

Dim intent1 As Intent
intent1.Initialize(intent1.ACTION_VIEW, "file://" & fileName)
intent1.SetType("application/pdf") ' or application/msword, ...
intent1.WrapAsIntentChooser("Selezionare il visualizzatore file " & estensione)
StartActivity(intent1)

Thanks
 

falbertini

Member
Licensed User
Longtime User
This part is the core of my app.. Without that my users cannot view files downloaded from web service..
When do you think will be available ?
Very thanks
 
Upvote 0

falbertini

Member
Licensed User
Longtime User
Have you any news ?
Or is possible to use Objective C inline to do the same functionality ? Do you have any example to use the required api for open files ?
I have searched in the forum but found nothing...
Thanks
 
Upvote 0
Top