'How to show doc, docx files on android by any library?

I am trying to show doc, docx files in android serveral times, but I cannot know how to do. I have searched through the internet and found some libraries such as POI, docx4j, aspose and so on. But I don't know what to use for my app. Who can give me the whole android sample project to show doc files. Best regards



Solution 1:[1]

If you want to preview your word(.doc/.docx) document I would suggest you to use Groupdocs.Viewer Groupdocs. They provide libraries for java. Also you can find proper documentation in this link.

Solution 2:[2]

One can use MuPDF for viewing almost all type of documents such as pdf,.doc,ppt,xls,etc natively. Its quite fast, and they also have a open source version for non-commercial use. Find the Documentation here.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Pushpendra
Solution 2 Prashant