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

Copy Paste HTML Design for Xamarin forms android

$
0
0

Hi,

I have some HTML template for email signature, i need to copy the HTML and that HTML paste as a Design Template in email.
in ios i have done this functionality. but in android its not working properly, below android code is working but when i paste HTML, the design template is crashing.

ClipboardManager clipboardmanager= (ClipboardManager)activity.GetSystemService(Activity.ClipboardService);
clipboardmanager.PrimaryClip.GetItemAt(0);
ClipData clipdata = ClipData.NewHtmlText("label","text",HTMLSignature);
clipboardmanager.PrimaryClip= clipdata;

if any one already used this please let me know where we wrong.
Please help
Thanks


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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