Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
linkifyを使用してメールの起動を設定できました。また、件名を設定してインテントを作成し、そのインテントを指定してstartActivityを呼び出してメールを送信する方法も学びました。
ただし、私の質問は、サブジェクトを設定する目的で、linkifyを取得して作成したインテントを起動する方法です。
addLinks()件名が固定されている (つまり、宣言している) 場合は、 onLinkifyを独自MatchFilterに使用して、好きなパターンのリンクTransformFilterを作成し、その部分をリンクに含めることができるはずです。mailto:?subject=...
addLinks()
Linkify
MatchFilter
TransformFilter
mailto:
?subject=...