I am sending a mail using intent from android application but my css is not loading. can someone help me load the css please. where am i wrong. Am stuck on this silly option for hours nows.
here part of my div.
<div style="background:"+String.format(hex,colors.get(position).hex)"></div>
...
I had the same problem, and couldnt fix it. I don't think its possible to send css with the default email clients (correct me if i'm wrong).
My work around was sending the html as a attachment.
see: Is it possible to send html with the mail intent?
Edit: here is example how i did it:
see following code how to create a mail intent with the attachements..