We need to open MS office & media file (.docx, .xlsx, pptx, .png, .bmp, .mp4, .avi, etc) from local storage of mobile application using Xamarin.Forms
We dont require to open the file inside the application. Just, we need to invoke the respective application in the device for opening its file type.
we have tried: Device.OpenUri(new Uri("https://www.w3.org/TR/PNG/iso_8859-1.txt")) however text file is opening in browser, we want to open these files in their application or atleast a window should appear asking choose the application to open the file.
Note: We are using Xamarin.Forms for Windows, Android & iOS application.