简体   繁体   中英

Unable to write a file to SD-card on android Kitkat and later but some app can still done that

I write/delete a file to/from SD-card root's directory, I know since Kitkat and later, Google has restricted access and don't allow to write on SD-card's root directory. But when testing, I found that some file manager app can still write/delete file directly from SD-card of this device, example: File Manager . I don't know how they do it. I've checked permissions of my app and File Manager app, they're the similar. Can anyone let me know?

Not sure of how a particular app do this but there is a means to do so. See the previous answer - Howto avoid the "EACCES permission denied" ON SDCARD with KITKAT 4.4.2 Version. New policy from google

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM