Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Activity not responding

More
IP: 192.168.0.71 11 years 4 months ago #7702 by petr.sklenicka
Hello,
I'm using your library for displaying some magazines and I have a little issue.

If user clicks on the PDF, the method GetAnnotFromPoint is called. Sometimes, this method takes a very long time, which causes Activity not responding. This problem is typical in one special magazine, but I do not know why...

Can you please give me some advice, how can I solve this problem?

Thanks a lot.
More
IP: 192.168.0.156 11 years 4 months ago #7707 by Davide
Replied by Davide on topic Activity not responding
Hi,
please check this problem with the demo project, then if it doesn't work with the demo, can you please send us the pdf?
More
IP: 192.168.0.71 11 years 4 months ago #7711 by petr.sklenicka
Hello,
thanks for you reply.

I have tested on your demo application, but the problem is exactly the same.

The PDF, which causes problems, is here: (it contains only one page)
www.dropbox.com/s/sgmvus1rzko7zqa/PdfProblem.pdf?dl=0
More
IP: 192.168.0.156 11 years 4 months ago #7712 by Davide
Replied by Davide on topic Activity not responding
Hi,
we will check the pdf with our developers and get back to you as soon as possible.
More
IP: 192.168.0.71 11 years 4 months ago - 11 years 4 months ago #7782 by petr.sklenicka
Hello,
do you have some update of this issue?
I have updated my version of used library to 3.1, because I used an older version. Unfortunately, I still have the same problem.
I measured a time of execution of the method GetAnnotFromPoint and it takes a very long time (53 sec) on the testing PDF, which I attached in my previous contribution.
Petr

UPDATE:

I have a next question, which probably related with my issue. Below this contribution, you find and attached next PDF, which has 3 pages. A rendering of the third page takes a very long time. This time is the same as time of execution of method GetAnnotFromPoint. I found that if GetAnnotFromPoint is called for the second page and rendering of the third page is not in progress, then everything works fine.
In other case, which means that rendering of the third page is in the progress, the execution time of method GetAnnotFromPoint for the second page takes very long time - maybe there is some waiting for finish of rendering the third page.
So my next question is: why rendering of the third page takes a very long time? In your demo app, the rendering of this page takes a very long time as well.
Is there any way how can I improve it?

Thanks a lot.

Best regards,
Petr

Link to PDF:
www.dropbox.com/s/90euhsth51w6n3z/ProblemPdf2.pdf?dl=0
Last edit: 11 years 4 months ago by sanyu erisa. Reason: Add some detailed information
Time to create page: 0.399 seconds
Powered by Kunena Forum