I have a situation in Lollipop where I have:

 1. Directory tree (`DocumentFile`) which is granted from user. 
 2. A collection of audio files that need to modify retrieved from media 
provider.

        Uri mediaUri = Uri.withAppendedPath(MediaStore.Audio.Media.
EXTERNAL_CONTENT_URI, 
            "45");



Then, how to write a stream into one of those files?

DocumentFile 
<https://developer.android.com/reference/android/support/v4/provider/DocumentFile.html>
 
is a new mechanism which allows us to modify files in Lollipop. It is not 
the same case with this post 
<http://stackoverflow.com/questions/7738192/how-to-get-contact-photo-uri> 

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to