After searching extensively, I have come across a plethora of solutions on how to load HTML into the body of an email intent. However, I am struggling to find a way to load a file that contains CSS and HTML content. I have a specific program in which I display a WebView by using:
webView.loadUrl("file://" + htmlManager.htmlFilePath(HtmlManager.myHtmlFile));
Furthermore, for loading HTML content in an email, I utilize:
Uri data = Uri.parse("mailto:?subject=" + subject + "&body=" + Html.fromHtml(htmlString));
My dilemma is, can I use the same file that was loaded via loadUrl as the body of the email?