Activity not responding - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Activity not responding

Activity not responding 4 years 1 week ago #7702

  • petr.sklenicka
  • petr.sklenicka's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Activity not responding 4 years 1 week ago #7707

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
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?

Please Log in or Create an account to join the conversation.

Activity not responding 4 years 1 week ago #7711

  • petr.sklenicka
  • petr.sklenicka's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Activity not responding 4 years 1 week ago #7712

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
we will check the pdf with our developers and get back to you as soon as possible.

Please Log in or Create an account to join the conversation.

Activity not responding 4 years 23 hours ago #7782

  • petr.sklenicka
  • petr.sklenicka's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Last edit: by sanyu erisa. Reason: Add some detailed information
  • Page:
  • 1
Powered by Kunena Forum