I am developing an application in which i want to share a custom link with the intent as:
Intent intentShare = new Intent(Intent.ACTION_SEND);
intentShare.setType("text/plain");
intentShare.putExtra(Intent.EXTRA_TEXT, "http://my_ip_address/abc/ayz/no/10");
try {
startActivity(Intent.createChooser(intentShare, "Select an action"));
} catch (android.content.ActivityNotFoundException ex) {
// (handle error)
}
Issue is: I can share the link as a text to whats app etc. But it share as text, not as link on tap of which it opens in browser.
What i am missing, or what should i do to complete the task? Please guide me.
