0
私のアプリケーションでは、インテント経由でGmailを開きます。 ハイパーリンクインテントエクストラテキストを追加しました。これはAndroid OS 5以上では動作しませんが、正常に動作しています。4.3ハイパーリンクAndroid OS 5以降は動作しません
問題が何であるか教えてください。以下のコードを参照してください。
注:直接リンク[https://www.google.co.in/]すべてのAndroid OSを正しく動作します。
コード:コードの下
Intent sharingIntent = new Intent(Intent.ACTION_SEND);
sharingIntent.setType("text/html");
sharingIntent.putExtra(Intent.EXTRA_TEXT, Html.fromHtml("<a href=https://www.google.co.in/>Google</a>");
startActivity(Intent.createChooser(sharingIntent,"Share using"));