Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Copy Paste HTML

$
0
0

Hi,
I have new in Xamarin Forms, I need to implement Copy and Paste HTML template using xamarin Forms.
In ios i have Done this implementation. but in android i did not have find any solution.

In android i have used below code :

ClipboardManager clipboardmanager= (ClipboardManager)activity.GetSystemService(Activity.ClipboardService);
ClipData clipData = ClipData.NewHtmlText("label","text",HTML);
clipboardmanager.PrimaryClip= clipData;

above code when i copy the HTML and paste in email, it html as text not design template.

Please help.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>