Preview downloaded file with "Open With..."

3 posts, 1 answers
  1. Novern
    Novern avatar
    10 posts
    Member since:
    Nov 2014

    Posted 05 Feb 2015 Link to this post

    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. Answer
    Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 09 Feb 2015 Link to this post

    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.

     
  3. Novern
    Novern avatar
    10 posts
    Member since:
    Nov 2014

    Posted 10 Feb 2015 in reply to Kaloyan Link to this post

    Good day,

    Thank you very much.

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

    Regards,
    André
Back to Top