Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Want to highlight the searched text 5 years 9 months ago #13933

  • rohitgarg2990
  • rohitgarg2990's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
Hi Team,

I want to highlight the particular keyword after opening the pdf. Please guide me.
I am able to find that we can do that using : PDFLayoutview.PDFFindStart
but when I am using it, it is giving me null pointer exception. I am calling it inside onResume()
int com.radaee.view.VPage.GetY()' on a null object reference
Regards,
Rgarg

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

Last edit: by rohitgarg2990.

Want to highlight the searched text 5 years 9 months ago #13935

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
make sure that the pdf is opened and ready for the search before calling PDFFindStart().
You can try to put a delay before the search to check if this is the problem.

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

  • Page:
  • 1
Powered by Kunena Forum