Open a file with an external app with WRITE access


#1

Hello,

I have been trying for many hours to open a file (that has been created by the app) with an external app (like WORD) .

I can open them (with the native plugin FileOpener) when I use the directory type “cordova.file.externalDataDirectory”, but they are opened in “read only”, and I don’t see how I can manage to open a file to an external app with “write” access.

I have try with a FileProvider (following the android documentation) but when I try to open the file with FileOpener.open(‘content://com.myapp.fileprovider/test/test.txt’, ‘text/plain’) the plugin throw “file not found”.

Is there an easy way to open a file with an external app with WRITE access?

Thanks!

Geoffrey