Embedding Office files (.doc, .ppt, .xls) in my Android App

3.4k views Asked by At

Is there a way to embed any kind of a viewer (for exapmle, QuickOffice Viewer) inside an Android App, in order to view/show/edit Documents such as .docx, pptx, xlsx, etc. (Word, Excel, PowerPoint files) ?

Any SDK or any API to present those without leaving to another app ?

A.K.A I don't want my files & data to leave my app, but I want them be presented to the user :)

2

There are 2 answers

4
An SO User On BEST ANSWER

There is Apache POI.

The Apache POI Project's mission is to create and maintain Java APIs for manipulating various file formats based upon the Office Open XML standards (OOXML) and Microsoft's OLE 2 Compound Document format (OLE2).

Then, there is Aspose which offers APIs to work with MS Office and other documents like PDF, etc.

0
Akash Jindal On

Unfortunately there are no such libraries which can embed these documents in your app while you may create your own Like for viewing PDF Java's iText Library will be perfect and similarly for others.