Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

How to open a file in a new window?

$
0
0

I'm using the code below in pcl to open a file stored locally:

Device.OpenUri(new Uri("file:///folder/file.pdf));

All is good and the file opens but when it opens it replaces my current page, ideally I would like to start an instance of the default app for pdf/jpg/txt/etc and leave my app as-is - is this possible?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>