Your only option at the moment is to “attempt” to open the file via system.openURL(). If you give that function a path to your file, then Corona will run an Android “Intent” for that file. If there are any apps installed on that device that support the file’s extension, that the file will be opened by that app. This means these apps have to have Android intent filters which register a file association, so to speak.
For example, if you have the Adobe Reader app installed on your Android device, then the following code will launch your PDF file in that app.
[lua]system.openURL(system.pathForFile(system.ResourceDirectory, “MyFile.pdf”))[/lua]
The downside with this method is that the above function will do nothing if there are no apps installed on the device that support that file extension. Your Lua code will get no feedback. There are no Lua listener support for system.openURL().
Not sure if that’s the answer you wanted, but that’s how it works at the moment. [import]uid: 32256 topic_id: 19465 reply_id: 75251[/import]