Google requires us to prepare our applications for new scopes storages. So I'm totally modifying my code for that by using SAF. There are a lot of things that I have to deal with but I will start with this question: For a given tree you can easily get a thumbnail for an image file:
Bitmap bitmap = DocumentsContract.getDocumentThumbnail(context.getContentResolver(),treeUri,p,null);
But how to get thumb for a video file and how to get the art album for an audio file?
Is there a way to get the media uri in the form:
content://media/external/images/media/361
from the uri given by SAF?
Thanks.