File Opener

Stable Version 1.0.1 (OutSystems 10)
Published on 30 January 2019 by 
Created on 30 January 2019
This plugin will open a file on your device's file system with either its default application, or through selection with the device's modal. (Credits to the people who did this plugin:
Read More

This component has the ability to open a mobile device's file, either by letting the user chose an app to do the job, or by open with the default app.

The device will offer apps based on the MIME given as a parameter to this component (to know more about MIMEs go here). You may get a file's MIME at the upload moment, on the web interface its very simple, since the upload component gives this information to you, on the mobile on the otherhand the component will not give you this information, so on this component's Demo I provided a way of doind so, just copy to your project and enjoy!

To open files you may need to save they on the device beforehand, this can be acomplished by using others plugins (e.g. File Plugin). One of the options when calling the open action, is named 'DecodeFilePath', you'll need when your URI (Path to the file) is encoded (e.g. file://MyPath/This%20Path%20Has%20Some%20Spaces/MyFile%20Has%20To.png)!

What’s new (1.0.1)

Corrected the Demo's Online Files example 

Reviews (0)
Device capabilities, Files & documents
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Mauricio Mangini who created this component.
File Opener has no dependencies.
Component Consumers
No consumers yet.
Weekly Downloads