geturi专题

Android Intent调用其他App时,报错:exposed beyond app through ClipData.Item.getUri()

解决办法: 在Application的onCreate中加入: StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();StrictMode.setVmPolicy(builder.build());if (Build.VERSION.SDK_INT >= Build.VERSION_COD

Android 解决android 7.0以上版本 exposed beyond app through ClipData.Item.getUri()问题

明明已经申请了权限,为什么还会报exposed beyond app through ClipData.Item.getUri()异常,并且闪退 在onCreate中加入以入代码 或者加载application中   StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();StrictMod