I'm using intent.putextra()
to share the intent to Facebook
and Twitter
. But I have a simple question: is it possible to insert a clickable link into the string used in putextra()
?
Let's make an example. This code:
Intent shareintent = new Intent();
shareintent.setAction(Intent.ACTION_SEND);
shareintent.putExtra(Intent.EXTRA_TEXT, "Whatever");
shareintent.setType("text/plain");
startActivity(shareintent);
will share "Whatever" to the selected service. I just want to put something like the "a href" tag used in HTML
so that I can set a link that redirects the user to a specific page...
Any idea?
UPDATE: appearantly when the choosen sharing method starts it doesn't have the content I put into putextra...
For example: if I choose Facebook the intent opens a blank post page instead of posting "Whatever"... o.O