This is a migrated thread and some comments may be shown as answers.

Preview downloaded file with "Open With..."

2 Answers 99 Views
HTML5, CSS, JavaScript
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Novern Holder
Top achievements
Rank 1
Novern Holder asked on 05 Feb 2015, 08:39 AM
Good day guys!

I had a quick skim of the forums but couldn't find what I was looking for.

I have created an app within VS2012 with the Telerik plugin.
Currently the app downloads a directory of files a user has uploaded, I want to add functionality so that when the user clicks on a file, the "Open With Default App" window pops up. Purely so the user can preview their file in an external app.

Has anyone done this before, or maybe even know where  would be a good place to start?

Thanks in advance!

2 Answers, 1 is accepted

Sort by
0
Accepted
Kaloyan
Telerik team
answered on 09 Feb 2015, 03:38 PM
Hi Andre,

Basically, this depends on the file types you would like to open inside your application. You can give a try the following custom Cordova plugins and see if they works for your scenario:

Another approach would be to use a custom URL schemes for all the file types you will have downloaded in the application. You can check our sample about this.

If none of the above works, please let me know what are the exact file types you would like to open from within your hybrid application and I will try to assist you further.


Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Novern Holder
Top achievements
Rank 1
answered on 10 Feb 2015, 08:00 AM
Good day,

Thank you very much.

I will try these as soon as I get time to work on the project again.

Regards,
André
Tags
HTML5, CSS, JavaScript
Asked by
Novern Holder
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Novern Holder
Top achievements
Rank 1
Share this question
or