HanseyChan

Results 3 comments of HanseyChan

能正常使用,请问有办法不让他提示异常吗?

` Intent shareIntent = new Intent(); shareIntent.setAction(Intent.ACTION_SEND); shareIntent.putExtra(Intent.EXTRA_STREAM, FileProvider7.getUriForFile(this, new File(imagePath))); shareIntent.setType("image/*"); shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); startActivity(Intent.createChooser(shareIntent, "分享到"));`