Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109151

textedit example gives java.lang.SecurityException when saving file on Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.3.0
    • Tested on Windows using Android 10 emulator and Oneplus 5 running Android 10
    • Android

      textedit example gives error when trying to save file on Android.

      E Qt JAVA : openFdForContentUrl: java.lang.SecurityException: Permission Denial: writing com.android.providers.downloads.DownloadStorageProvider uri content://com.android.providers.downloads.documents/document/20.odt from pid=15830, uid=10613 requires android.permission.MANAGE_DOCUMENTS, or grantUriPermission() 
      E Qt JAVA : openFdForContentUrl: java.lang.SecurityException: Permission Denial: writing com.android.providers.downloads.DownloadStorageProvider uri content://com.android.providers.downloads.documents/document/20.odt from pid=15830, uid=10613 requires android.permission.MANAGE_DOCUMENTS, or grantUriPermission() 
      W Rich Text: QTextOdfWriter::writeAll: the device cannot be opened for writing
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            eliashautala Elias Hautala
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes