Transform EMLX to ODT in Andorid Apps
Desing Andorid applications to export EMLX to ODT by using Andorid via Java API
How to Render EMLX to ODT in Andorid ApplicationsAndorid 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 EMLX to ODT by the combination of Aspose.Email for Android Java & Aspose.Words for Andorid Java . Using the first API you can convert EMLX file format to HTML and by using second API, you can render HTML as ODT.
Convert EMLX to ODT in Andorid
- Open EMLX file using MailMessage class
- Convert EMLX to HTML by using save method
- Load HTML by using Document class
- Save the document to ODT format using save method and set ODT 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 EMLX to ODT Conversion in Andorid Apps
// load the EMLX file to be converted MailMessage message = MailMessage.load("sourceFile.emlx"); // save EMLX 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.ODT document.save("output.odt", SaveFormat.ODT);
What is EMLX File Format
An EMLX file is a mail message file created by Apple Mail, a default email client for macOS. It contains the email message in MIME format, along with attachments, if any. EMLX files are typically saved in the Mail directory of a users home folder. EMLX files can be opened with Apple Mail or other email clients that support the format. They can also be opened with text editors, which can be useful for viewing the raw email data. EMLX files were introduced in Mac OS X 10.4 (Tiger). Prior to that, Apple Mail used the . EML format for saved email messages.Read More
What is ODT File Format
OpenDocument Text File Format (ODT) is a file format for storing and exchanging text documents. It is an open standard developed by the OpenDocument Foundation. ODT is based on the XML format and uses the ZIP compression algorithm.ODT files are compatible with a variety of word processing applications, including Microsoft Word, LibreOffice, and Apache OpenOffice. ODT files can be opened and edited without any special software.ODT files are typically saved with a .odt file extension.Read More