Comments (18)
Hi, do you mean the pdf file hasn't been downloaded entirely yet?
from android-pdfview.
The download was interrupted due to internet connection. And just for
testing purpose I clicked on it and then it crashed.
On Feb 18, 2014 6:57 PM, "Joan Zapata" [email protected] wrote:
Hi, do you mean the pdf file hasn't been downloaded entirely yet?
Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-35383572
.
from android-pdfview.
Oh I see, I didn't understand that the exception was coming from an AsyncTask, preventing you from catching it.
I guess the error should delegated to an error handler that you could implement yourself then.
I don't have time for now but feel free to submit a pull request!
from android-pdfview.
Has this issue was fixed somehow or are there any workarounds for it?
from android-pdfview.
Nothing yet, you should be able to catch it using Thread.setDefaultUncaughtExceptionHandler()
but it's bad. PR is welcome.
from android-pdfview.
still not solved?
from android-pdfview.
PR is still welcome.
from android-pdfview.
public relations? ) why don't you just catch the exception and create a callback interface for the developer to catch the error?
from android-pdfview.
public relations?
why don't you just catch the exception and create a callback interface for the developer to catch the error?
Because I don't have the time or the need to do so. This library is free and open source, everyone can participate and submit code to be integrated.
from android-pdfview.
@JoanZapata Same problem here, would be great if you could kindly make time to fix it.
from android-pdfview.
@JoanZapata , The RenderingAsyncTask.java create the new thread for data render, the exception occur on different thread while load the page on PDFview, It should not allow to manage exception in application. Please can you check this over the service thread execution.
from android-pdfview.
I added a new update on my brach that might fix this issue. I added a onErrorOCcuredListener class which notifies the parent activity/class when an error occurs while opening a corrupted pdf. I was having the exact same problem and this seems to overcome that.
Hope it helps. Cheers.
from android-pdfview.
Since when is fixing crashing when losing internet connection an "enhancement"? This should be a bug. Currently trying to find a workaround. @milandhanani would you be able to make your solution a pull request so the author will acknowledge it?
from android-pdfview.
i meet the problem to,had you solve it ?
from android-pdfview.
@milandhanani : please, publish your branch for fix this problem
from android-pdfview.
02/01/2018 and still not resolve? :(
from android-pdfview.
Hi,
is this problem resolve?
from android-pdfview.
Hi !
is this problem still not resolve... :(
by the way, what is "Incomplete PDF" ???
from android-pdfview.
Related Issues (20)
- Zoom In pdf is not working.
- concatenate pdf files
- Password protected file support
- Unknown Error
- Comments Box
- PDF is not showing correctly. HOT 2
- Load PDF from bytes[] HOT 1
- 程序错误,无法解压
- 无法解析PDF文件
- 请问能支持显示电子签名不?
- pdf 的放大后部分字体变模糊,且开始显示的大小不能再缩小了
- android P系统上崩溃 HOT 1
- crash HOT 3
- pdf后续打印有demo吗
- Support 64Bit abi HOT 2
- How to clear the current PDF from the view
- RuntimeException: error loading page HOT 1
- Nuget not compatible with MonoAndroid,Version=v10.0
- 可以增加适配x86_64的 .so资源
- new
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-pdfview.