Is there any way I can detect which sharer app is selected when using share action provider,so that I can send different messages for different apps? I am using following method for share action provider,
mShareActionProvider = (ShareActionProvider) menu.findItem(R.id.menu_item_share).getActionProvider();
mShareActionProvider.setShareIntent(getDefaultShareIntent());
and intent,
public Intent getDefaultShareIntent(){
String message = Fname + Mobileno + Homeno + Workmail + Homemail
+ Gtalk + Skype + Address + Company + Title + Website;
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.putExtra(Intent.EXTRA_TEXT, message);
return shareIntent;
}