Android Chooser is showing duplicate apps when trying to share an image with Text.
Uri uri = FileProvider.getUriForFile(getBaseContext(), getApplicationContext().getPackageName() + ".fileprovider", inviteImagePath);
intent.setAction(Intent.ACTION_SEND);
intent.putExtra(Intent.EXTRA_TEXT, msg);
intent.putExtra(Intent.EXTRA_STREAM, uri);
intent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Subject Here");
intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
intent.setType("image/*");
I am getting 3 Facebook Apps and 2 Messenger Apps and 2 Twitter Apps.
For Example, Take Fb. I want to show only post the image as a feed and not as a Profile Picture. How to attain it.