How to open the default app on a mobile device based on the file extension?


We are writing a cross platform application in Firemonkey.
One of the features is that the user can download files that are stored on the server.
Therefore we have a REST service the application uses to download the file.
We don’t know the file type, it could be pdf, image or a word document, …
I’m looking for a routine that allows launching the standard app on the mobile device that is capable of opening the document and this for IOS and Android.
Can anybody help me with that?

Comments are closed.