Android - microsoft office viewer in my app

2019-04-26 11:42发布

问题:

What I have / tried:

I am developing an android application. In which I have to add the viewer for the microsoft office documents(doc, docx, ppt, pptx, xls, xlsx) to the users. So I have searched in the internet. I got some reference about the apachi POI and doc4j for android.

So I tried to implement that inside my app. But I got lot of issues and also not getting any API references for that. So I have posted the question in the stackoverflow. But I didn't get any solutions for that.

So I am deciding to add any other third part office viewer SDKs inside my app to view the microsoft-office documents.

I searched in the internet and I got the following third party document viewers.

directoffice-mobile-sdk

aspose

What I want: What are the other third party office document viewer SDKs are available for android? and what is the best one to implement inside my app? So anybody give some suggestions on this?

回答1:

I know it's about 2 years since the question, but people are still asking if there is a solution.

The answer might be more obvious that you think - use the Microsoft Graph SDK: http://dev.office.com/android

There are, of course, the equivalent iOS SDKs as well: http://dev.office.com/ios

Although the SDKs aren't as obvious as "open this Word file", they do allow you to gain access to the Office 365 functionality from within your own apps.

I hope this helps someone...