android意图不需要权限,android – 权限拒绝:广播意图未导出
我有以下代码:sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED,????????????????Uri.parse(“file://”Environment.getExternalStorageDirectory().getAbsolutePath())));在我的清单中,我补充说:我收到以下错误07-20 13:16:31.203: WAR
我有以下代码:
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED,
????????????????Uri.parse(“file://”Environment.getExternalStorageDirectory().getAbsolutePath())));
在我的清单中,我补充说:
我收到以下错误
07-20 13:16:31.203: WARN/BroadcastQueue(395): Permission Denial: broadcasting Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///storage/sdcard0 flg=0x10 } from com.example.Music_Exchanger (pid=11797, uid=10080) is not exported from uid 10016 due to receiver com.android.providers.downloads/com.android.providers.downloads.DownloadReceiver
我不知道为什么会否认.我怎么解决呢???
如果您知道,请帮助我,请写出更详细的信息.我只是个初学者.
非常感谢!
更多推荐
所有评论(0)