Getting Permission Denial Exception
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have an activity in my app that allows the user to select several files from the device one by one, I am using an intent like this: Intent intent = new Intent (); intent . setType ( "*/*" ); intent . setAction ( Intent . ACTION_GET_CONTENT ); startActivityForResult ( Intent . createChooser ( intent , getString ( R . string . select_attachments_activity_chooser_label )), SELECT_PICTURE ); This is working perfectly fine, I am getting the Uri's of the files selected, they look like this: content : //com.android.providers.media