wasap や gmail 経由でメッセージを送信したいところから、自分のアプリについて説明し、Google shareButton
Playへのハイパーリンクを含めます。optionsMenu
問題は、ハイパーリンクが表示されないことです。これは私がやったことです:
mShareActionProvider = (ShareActionProvider) MenuItemCompat.getActionProvider(item);
Intent sharingIntent = new Intent(Intent.ACTION_SEND);
sharingIntent.setType("text/html");
String shareBody = getString(R.string.sharing_intent_text)+"https://www.google.com/";
sharingIntent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.sharing_intent_subject));
sharingIntent.putExtra(Intent.EXTRA_TEXT, shareBody);
mShareActionProvider.setShareIntent(sharingIntent);
そして、これが私が使用している弦です
<string name="sharing_intent_text">Game descrition <a href=https://https://play.google.com/store/apps/details?id=packageName>App Name</a> more description</string>
<string name="sharing_intent_subject">Subject</string>
sharingIntent.setType("text/html")
ゲームの名前を使用してもクリックできません。