File Opener

Stable Version 1.0.1 (OutSystems 10)
Published on 30 Jan by 
Created on 30 Jan
Details
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: https://github.com/pwlin/cordova-plugin-file-opener2)
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)
Category
Components, Mobile Plugins
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.
Dependencies
File Opener has no dependencies.
Requirements
Platform
10.0.0.402
Database
All
Stack
.NET
Component Consumers
No consumers yet.
Weekly Downloads