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

research and implement the file interchange story on iOS 8 and Android



    • iOS/tvOS/watchOS



      It's now possible for one application to access files that belong to another, but there are some security restrictions which make application platform portability difficult. So it is not clear yet what needs to be done to make the best use of QFileDialog or QtQuick.Dialogs FileDialog in an iOS application, or if that's even a suitable paradigm. But the document picker on iOS does actually look like a file dialog, and it's interesting that it also provides access to content stored in iCloud:


      At this time it seems like one way forward would be
      1) implement QPlatformFileDialogHelper for iOS, to use UIDocumentPickerViewController
      2) augment QFile to call startAccessingSecurityScopedResource only when necessary

      or maybe that will turn out to have unavoidable pitfalls.

      There are also older ways of sharing files between applications, usually by accessing the content in its "owner" application and somehow "sending" it to another application. Those don't map as well to the use of a file dialog, but maybe we need some sort of Qt API which works at least across iOS and Android, or maybe interoperates with drag-and-drop on desktop platforms, or something like that.


        Issue Links

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



              vestbo Tor Arne Vestbø
              srutledg Shawn Rutledge
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              9 Vote for this issue
              13 Start watching this issue



                Gerrit Reviews

                  There are no open Gerrit changes