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

Android Qt scoped file access

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Moved
    • P2: Important
    • None
    • 5.15
    • Extras: Android
    • None

    Description

      Android enforces restricted file access starting with Android Q which can be turned off (android:requestLegacyExternalStorage="true" in the AndroidManifest.xml) but will be mandatory in Android R in 2020. Qt should somehow provide scoped file access. At the moment we can get scoped file access as follows:

      1. Request file access in a Java method.
      2. Pass the file handle from Java to C++ and use it as a parameter in QFile().

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              DanielSt Peter Staab
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes