Share image with Android intent
问题 I'm trying to share an image trough a share intent like this: Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND); sharingIntent.setType("image/png"); sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, application.getString(R.string.app_name)); sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT,application.getString(R.string.app_share_message)); File image = new File(Uri.parse("android.resource://" + C.PROJECT_PATH + "/drawable/" + R.drawable.icon_to_share)