The users might already have installed some custom apps for each one of the above service. So instead of coding all these again, it would be really nice (for both your users as well as for you as a developer) if you can invoke any one of these apps, where users want to share content from your app. For Example user share some link to his friend then this example is very helpful in Android.

Java File: – MainActivity.java

Intent sIntent = new Intent();

sIntent.setAction(Intent.ACTION_SEND);

sIntent.putExtra(Intent.EXTRA_TEXT,"Hey check out my app at:https://play.google.com/store?hl=en");

sIntent.setType("text/plain");

startActivity(sIntent);