How to Render EMAIL to SVG in Andorid Applications
Andorid Apps are easy to use for end users on daily bases. Day by day numbers of Andorid phones users are increasing. Using the powerful Aspose.Total for Android via Java File Format Automation libraries you can develope Email manipulation and convertion applications. You can convert EMAIL to SVG by the combination of Aspose.Email for Android Java & Aspose.Words for Andorid Java . Using the first API you can convert EMAIL file format to HTML and by using second API, you can render HTML as SVG.Convert EMAIL to SVG in Andorid
- Open EMAIL file using MailMessage class
- Convert EMAIL to HTML by using save method
- Load HTML by using Document class
- Save the document to SVG format using save method and set SVG as SaveFormat
Get Started with Andorid via Java APIs
You can easily use Aspose.Total for Android via Java directly from Maven and install Aspose.Email for Android via Java and Aspose.Words for Andorid via Java in your applications.
Alternatively, you can get a ZIP file from downloads .
Code for EMAIL to SVG Conversion in Andorid Apps
// load the EMAIL file to be converted
MailMessage message = MailMessage.load("sourceFile.msg");
// save EMAIL as a HTML
message.save("HtmlOutput.html", SaveOptions.getDefaultHtml());
// load HTML with an instance of Document
Document document = new Document("HtmlOutput.html");
// call save method while passing SaveFormat.SVG
document.save("output.svg", SaveFormat.SVG);
Explore EMAIL Conversion Options with Android
Convert MSG to BMP
(Bitmap Image File)
Convert MSG to DOC
(Microsoft Word Binary Format)
Convert MSG to DOCM
(Microsoft Word 2007 Marco File)
Convert MSG to DOCX
(Office 2007+ Word Document)
Convert MSG to DOT
(Microsoft Word Template Files)
Convert MSG to DOTM
(Microsoft Word 2007+ Template File)
Convert MSG to DOTX
(Microsoft Word Template File)
Convert MSG to EMF
(Enhanced Metafile Format)
Convert MSG to EPUB
(Open eBook File)
Convert MSG to FLATOPC
(Microsoft Word 2003 WordprocessingML)
Convert MSG to GIF
(Graphical Interchange Format)
Convert MSG to PNG
(Portable Network Graphic)
Convert MSG to JPEG
(Joint Photographic Expert Group)
Convert MSG to MD
(Markdown Language)
Convert MSG to ODT
(OpenDocument Text File Format)
Convert MSG to OTT
(OpenDocument Template)
Convert MSG to PCL
(Printer Command Language)
Convert MSG to PDF
(Portable Document Format)
Convert MSG to PNG
(Portable Network Graphic)
Convert MSG to PS
(PostScript File)
Convert MSG to RTF
(Rich Text Format)
Convert MSG to SVG
(Scalar Vector Graphics)
Convert MSG to TIFF
(Tagged Image File Format)
Convert MSG to DOCX
(Office 2007+ Word Document)
Convert MSG to WORDML
(Microsoft Word 2003 WordprocessingML)
Convert MSG to XPS
(XML Paper Specifications)