适用于 Android 的 PDF 库 - PDFBox? [英] PDF Library for Android - PDFBox?

查看:86
本文介绍了适用于 Android 的 PDF 库 - PDFBox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有哪些库可用于在 Android 上绘制 PDF 文件?

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

我找到了 PDFBox,这是一个 JSE 库,想知道它是否可以用于在 Android 上绘制 PDF.

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 将标准字节码转换为 Dalvik 字节码,但是它如何转换框架可以将 PDF 文件转换为 BufferedImage 之类的类?

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 的一个问题.在 Stackoverflow 上快速搜索会发现许多开发人员正在寻找解决方案.到目前为止,最流行的解决方案是使用 webview 和 使用谷歌文档引擎呈现 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

第二种解决方案不那么hacky",是使用 这些 android pdf 库

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

这篇关于适用于 Android 的 PDF 库 - PDFBox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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