简体   繁体   English

MediaStore.Audio.Media.EXTERNAL_CONTENT_URI不扫描数据文件夹内部

[英]MediaStore.Audio.Media.EXTERNAL_CONTENT_URI does not scan inside data folder

I'm fetching music files from device using MediaStore.Audio.Media.EXTERNAL_CONTENT_URI .. For other folders it is working fine. 我正在使用MediaStore.Audio.Media.EXTERNAL_CONTENT_URI从设备中获取音乐文件。对于其他文件夹,它工作正常。 but it is not fetch/scan music files inside app's data folder (getFilesDir().getAbsolutePath())... why? 但是它不是在应用程序的数据文件夹(getFilesDir()。getAbsolutePath())中获取/扫描音乐文件...为什么? is there any limitations??? 有什么限制吗??? TIA. TIA。

why? 为什么?

The MediaStore has no access to those files, nor does it know about them. MediaStore无法访问这些文件,也不知道这些文件。 Those files are private to your app. 这些文件对您的应用是私有的。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI报告为未知URI - MediaStore.Audio.Media.EXTERNAL_CONTENT_URI reported as Unknown URI MediaStore.Audio.Media.EXTERNAL_CONTENT_URI返回一个空游标 - MediaStore.Audio.Media.EXTERNAL_CONTENT_URI return an empty cursor ContentResolver 插入 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI 错误 - ContentResolver insert MediaStore.Audio.Media.EXTERNAL_CONTENT_URI error 在查询`MediaStore.Audio.Media.EXTERNAL_CONTENT_URI`之前,有没有办法强制系统媒体重新扫描? - Is there any way to force a system media rescan before querying `MediaStore.Audio.Media.EXTERNAL_CONTENT_URI`? 在Android中的MediaStore.Audio.Media.EXTERNAL_CONTENT_URI中插入音频文件时出现问题 - problem while inserting audio file in MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in android api 29+ 已弃用 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI? - MediaStore.Audio.Media.EXTERNAL_CONTENT_URI is deprecated for api 29+? 我的设备上的查询问题(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,null,null,null,null) - problem with query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, null, null, null, null) on my device 使用PICK_ACTION和MediaStore.Audio.Media.EXTERNAL_CONTENT_URI时是否可以过滤或删除显示的结果? - Is it possible to filter or remove results shown when using PICK_ACTION and MediaStore.Audio.Media.EXTERNAL_CONTENT_URI? Android:MediaStore.Images.Media.EXTERNAL_CONTENT_URI…以全尺寸显示图片吗? - Android: MediaStore.Images.Media.EXTERNAL_CONTENT_URI … show pictures in full size? Android 9 (Pie) ContentResolver 查询 MediaStore.Images.Media.EXTERNAL_CONTENT_URI 在 api 28 上返回 null - Android 9 (Pie) ContentResolver query MediaStore.Images.Media.EXTERNAL_CONTENT_URI returns null on api 28
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM