Hi, I'm using the Xamarin.Forms, and I have used "Device.OpenUri" to open the default email client in android. Is there any way to add the attachment?.
The code which I have used to open mail client is given below.
Device.OpenUri(new Uri("mailto:XXX@YYY.com?subject=MySubject&body=MyFile&attachment='"+filePath+"'"));
The problem I'm facing is the file (which is given as file path) is not attached. It will very helpful if someone point me a solution or a provide me some sample code.
Thanks in advance.