I have 2 types of Intents for sharing. One for simple generic messaging like SMS/Slack etc. and Another one for email. What I can't seem to figure out is how to make where I can find a way to resolve what someone has chosen via the chooser and use the appropriate intent.
(This would be done via pressing the share button and all send options would show in the chooser
Any help with this would be awesome.
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.setType("text/plain");
Intent chooser = Intent.createChooser(shareIntent,"");
My thought was when resolving the chooser I could see if it was an email type but that doesn't seem to work either.