I am creating a notepad android app that has different fonts to use. I am able to save the files as .txt but that extension does not save the font used so I was wondering if there is any way to save the file as .odt or .doc.
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Both the ODT and DOC format are relatively complex and are probably overkill for what you need.
However, if you wish to pursue that path, the most robust solution is to use a library like Aspose.Words.
What if you store your file as HTML? That would give you fonts and formatting with much less complexity.