android自带分享功能
Uri uri = Uri.fromFile(photoFiles[position]); Intent intent = new Intent(Intent.ACTION_SEND); intent.putExtra(Intent.EXTRA_STREAM, uri); intent.setType("image/jpeg"); startActivity(Intent.createChooser(intent, "分享"));
android自带分享功能
Uri uri = Uri.fromFile(photoFiles[position]); Intent intent = new Intent(Intent.ACTION_SEND); intent.putExtra(Intent.EXTRA_STREAM, uri); intent.setType("image/jpeg"); startActivity(Intent.createChooser(intent, "分享"));