安卓的Microsoft Office库(doc和的.docx,.xls的,.PPT等) [英] Android Microsoft Office Library (.doc, .docx, .xls, .ppt, etc.)

查看:403
本文介绍了安卓的Microsoft Office库(doc和的.docx,.xls的,.PPT等)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道一个好的Java的Microsoft Office API能够或正在运行的是Android的?我知道有一个OpenOffice的Java API,但使用它在Android上我还没有听说过的。

Does anyone know of a good Java Microsoft Office API capable or running on an Android? I know there is an OpenOffice Java API, but I haven't heard of anyone using it on Android.

我知道,使用意图是另一种选择,但如何常见的是在不同的Andr​​oid分布pre-安装Office的观众?难道是合理的开发人员期望用户来安装这些观众中的一个?它是合理的要求,他们安装这些应用程序之一,如果他们不已经有一个?

I know that using intents is another option, but how common are pre-installed office viewers on the varying Android distributions? Would it be reasonable for a developer to expect the user to have one of these viewers installed? Is it reasonable to request that they install one of these applications if they don't already have one?

推荐答案

由于大多数我们需要显示已托管在网络上的文件,我们选择使用打开使用的google文档查看器

Since most of the documents we need to display are already hosted on the web, we opted to use an embedded web view that opens the document using google docs viewer.

我们还是有,虽然这种方法不能处理一些本地存储的文件。对于这些,我们的解决方案是依靠现有的应用程序的支持。花一些时间与Android之后,它似乎大多数设备都配备了某种形式的文件/ PDF阅读能力,安装新的开箱即用。的,因为它们不具有能够应用程序的情况下,我们引导它们向市场搜索一个免费的阅读器。

We still have a few locally stored documents though that this approach doesn't work with. For these, our solution was to rely on the support of existing apps. After spending some more time with Android, It seems that most devices come equipped with some sort of document/pdf reading capability installed fresh out of the box. In the event that they don't have a capable app, we direct them to a market search for a free reader.

这篇关于安卓的Microsoft Office库(doc和的.docx,.xls的,.PPT等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆