Android Q scoped storage

VLC for Android and Chrome OS specific usage questions
svenhenrik
New Cone
New Cone
Posts: 7
Joined: 25 Jul 2017 04:47

Android Q scoped storage

Postby svenhenrik » 15 Mar 2019 10:03

The Android Q preview released on March 14th 2019 comes with changes to storage access, requiring that any access to storage is done through the Storage Access Framework. From what I've gathered so far, file descriptors and fdopen still work in native code, but I have not seen any official word on whether or not native libraries will be able do fopen. My current understanding is that fopen will not work, even if the file is within a tree that the user has granted the permission to use.

I would love to hear what VLC Android developers think of this change, as well as the view of other users of libVLC for Android!

Links:
Android Q release blog
Scoped storage changes

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Android Q scoped storage

Postby Jean-Baptiste Kempf » 16 Mar 2019 19:16

This seems a HUGE pain for us, to be honest.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: Android Q scoped storage

Postby Dekans » 22 Mar 2019 11:28

Medialibrary won't be able to scan storages.
We'll have to do an extra Java layer to scan virtual files, and pass file descriptors to Medialibrary.
We'll have to figure out how to manage files tree hierarchy and devices presence.

Big mess incoming :(


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 16 guests