The task is to send the file in the internal memory to the files directory for editing.
files-path is.
Uri is formed correctly.
Intent on ACTION_EDIT with flags FLAG_GRANT_READ_URI_PERMISSION , FLAG_GRANT_WRITE_URI_PERMISSION .
Third-party applications open the file (for example, docx format), but cannot edit it. Tried Context.grantUriPermissions - does not help. Android developers says that you can read and edit internal storage files, but in fact it does not work.
Is it possible at all, or do I need to get getExternalFilesDir ?
canRead()/canWrite()methods say? Yes, and showfile_paths.xmlwith indication of which partition is used byexternal-pathorfiles_path- Barmaley