PDF图书馆为Android - PDFBox的?图书馆、PDF、PDFBox、Android

2023-09-12 01:09:41 作者:说好永远不分手°

至极库的存在是为了用它来借鉴Android的PDF文件?

Wich libraries exists to use to draw PDF files on Android?

我发现PDFBox的,这是一个JSE库,并想知道如果不知它可以用来绘制PDF文件在Android上。

I found PDFBox, that is a JSE Library, and want to know if somehow it can be used to draw the PDFs on Android.

我知道Android的转换标准字节codeS到的Dalvik字节codeS,但它是如何将类转换成类似的BufferedImage,该框架可以将PDF文件转换成?

I know Android converts Standard bytecodes into Dalvik Bytecodes, but how it will convert classes like BufferedImage that the framework can convert PDF Files into?

任何建议是很有帮助,即使是付出库。

Any suggestion is helpfully, even for paid libraries.

推荐答案

PDF阅读/写作是一个大作为Android的问题。在#1快速搜索,就会发现许多开发商寻求解决方案。到目前为止,最流行的解决方案是使用一个web视图和use在谷歌文档引擎来渲染PDF

PDF read/writing is a big problem for Android. A quick search on Stackoverflow will reveal many developers looking for solutions. So far, the most popular solution is to use a webview and use the google docs engine to render the PDF

第二个解决方案,这是少一点哈克是使用these Android的PDF库

A second solution, which is a little less 'hacky' is to use one of these android pdf libraries