Issue
I have a question.
I need to use intent share the link text to LINE App in Android.
But I don't know how to share hyperlink text to Line.
I know share the text to LINE message. below:
intent.setAction(Intent.ACTION_SEND);
intent = mContext.getPackageManager().getLaunchIntentForPackage(
AppConfig.LINE_PACKAGE_NAME);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_TEXT, "this is share text but I want to set hyperlink");
mContext.startActivity(intent);
Have anyone know how to set text link(ex:link to www.google.com) use intent and share to LINE App in android?
Thank you very much.
Solution
I found the answer.
Just to write the hyper link text.
The Line app will auto generate the hyper link in there message panel.
Answered By - dickfala
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.