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

TOPIC:

add EditText and check box at pdf 8 years 2 months ago #10224

  • ankur123987
  • ankur123987's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Available as freelancer (ex website to app 30min)
  • Posts: 97
  • Thank you received: 0
thanks david for write the separate function that function is not worked for me as i use PDFLayoutView and VPage class however i modified your code now worked for me i have other query i want to add text on touch event .

similiar as in demo of adding "note" . in currently method i have to pass static parameter for particular area . i want it dynamically

please help one more query invalidate() is not recoznized in activity class so its take some scrolling of pdf for refresh the page . what would solution of it

thanks you

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

Last edit: by ankur123987.

add EditText and check box at pdf 8 years 2 months ago #10225

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you can place addTextBox in the OnPDFSingleTapped method, pass x and y and change the rect parameters as you want..

To refresh the view please try with :
m_reader.invalidate();

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

add EditText and check box at pdf 8 years 2 months ago #10226

  • ankur123987
  • ankur123987's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Available as freelancer (ex website to app 30min)
  • Posts: 97
  • Thank you received: 0
hello Davide ,

i check the OnPDFSingleTapped method its never called . i implement the PDFView.PDFViewListener, please help

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

add EditText and check box at pdf 8 years 2 months ago #10229

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65

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

add EditText and check box at pdf 8 years 2 months ago #10232

  • ankur123987
  • ankur123987's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Available as freelancer (ex website to app 30min)
  • Posts: 97
  • Thank you received: 0
Hi davide,

I checked the knowledge base post but there is no OnPDFSingleTapped method in PDFReaderListener and PDFLayoutListener interface.. i am implementing PDFView.PDFViewListener . but OnPDFSingleTapped is never called
please help

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

add EditText and check box at pdf 8 years 1 month ago #10318

  • gregh530
  • gregh530's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Do you have code sample for this functionality? Thank in advance, Greg

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum