I originally wanted to remove the WRITE_EXTERNAL_STORAGE permission from 
our app, since we only download files to our app-private external storage, 
based on 
http://developer.android.com/guide/topics/data/data-storage.html#AccessingExtFiles.

But I discovered that we still need the WRITE_EXTERNAL_STORAGE permission 
for us to use DownloadManager to download files, even to app-private 
external storage on 4.4 and later, which others have confirmed in 
http://stackoverflow.com/questions/30432837/why-download-manager-requires-write-external-storage-for-maxsdkversion-18
 
and 
http://developer.android.com/reference/android/app/DownloadManager.Request.html.

However, on Marshmallow devices, I've found that we are able to use 
DownloadManager to download files to app-private external storage without 
needing the WRiTE_EXTERNAL_STORAGE permission. Rather than relying on just 
the datapoints of the devices we've tested on working, I was hoping to find 
official documentation that this is expected to work. Is anyone aware of a 
difference in how DownloadManager behaves on Marshmallow such that it no 
longer needs that permission?

-- 
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].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/6cc5e42f-3d84-42b6-abfe-c2cf5e6e3f8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to