当前位置: 动力学知识库 > 问答 > 编程问答 >

android - Motorola Xoom PDF/PPT View

问题描述:

I need to develop a Sales app specifically targeted for Android on Motorola Xoom. The app needs to display some pdf and ppt files bundled within the apk itself.

The documents should display from within the app itself as the document viewer UI screen should be customisable (client logo etc.) so calling an Intent for some preinstalled document renderer is not an option.

I then tried displaying the pdf in Webview but with no success.

I tried using an opensource pdf renderer but the performance and quality of rendering were very low.

I then converted the pdf as images offline and rendered the images in webview but the quaity is again inferior.

Please guide as I'm at my wit's end. Are there any more approaches left? What can be best way forward?

网友答案:

The best way would probably be ACTION_VIEW intent, which will let user choose the PDF reader to view the file.

分享给朋友:
您可能感兴趣的文章:
随机阅读: