使用ANDPDF罐子极其缓慢打开PDF Android中 [英] Opening pdf in Android using ANDPDF jar extremely slow

查看:155
本文介绍了使用ANDPDF罐子极其缓慢打开PDF Android中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用这 https://github.com/jblough/Android-Pdf-查看器库 - 基本上为andpdf观众为Android包裹罐子。我无法打开,即使我已经跟着活动创造指令到letter.It alsways一个单一的PDF显示PDF加载。这是唯一一个我可以使用,因为它是在LGPL,我要纳入它在我的专利项目。其他的人我已经找到要么使用MuPDF这是根据GPL或使用iText的,只能用来创建PDF文件。我提出两个andpdf这个问题,包装网站,但还没有收到任何responses.Has解决了这个性能问题WRT ANDPDF。或者有没有人使用LGPL下一个罐子在android系统来打开PDF的?

I am using this https://github.com/jblough/Android-Pdf-Viewer-Library - Basically a wrapped jar for the andpdf viewer for Android. I am not able to open a single pdf even though I 've followed the activity creation instructions to the letter.It alsways shows pdf loading. It is the only one I can use since it is under LGPL and I have to incorporate it in my proprietary project. The other ones I ve found either use MuPDF which is under GPL or use itext and only can be used to create PDF's. I've raised this issue on both andpdf and the wrapper sites but havent received responses.Has anyone solved this performance issue wrt ANDPDF. OR has anyone used a jar under LGPL to open pdf's in android?

对于andpdf罐子 - 我传递的路径,文件的URI函数的Jar

For the andpdf jar - I am passing the path to the file as a URI to the function in the Jar.

推荐答案

想通了 - 其实我是路过的文件名错误的活动 - 它要传递到活动中的Jar并没有给本地创建活动

Figured it out - Actually I was passing the file Name to the wrong activity - It has to be passed to the activity in the Jar and not to the locally created activity

这篇关于使用ANDPDF罐子极其缓慢打开PDF Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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