I try to open programmatically a PDF file from shared storage in Acrobat Reader. I use content provider URI and add FLAG_GRANT_WRITE_URI_PERMISSION to my Intent. But Acrobat open a writable copy and not the original file.
Asked
Active
Viewed 69 times
1
-
1You have a friend: https://stackoverflow.com/questions/65984804/can-not-save-pdf-file-with-fileprovider-and-external-pdf-editor – blackapps Feb 01 '21 at 09:24
-
Who gave you a content provider uri? – blackapps Feb 01 '21 at 09:25
-
My app use a custom content provider with grantUriPermissions attribute sets to true. – user1753118 Feb 01 '21 at 09:51