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

Using android pen does not save/retain the content

More
IP: 47.44.172.50 8 years 4 months ago #13803 by pooja
Hi,
For editing PDF forms on android, when we use pen, the current functionality requires the user to click the pen in tools again so that the content is saved on pdf. If user do not click pen again, the content written is lost. Can you please add functionality so that the user is not required to click pen again after writing.

Thanks,
Pooja
More
IP: 37.183.44.177 8 years 4 months ago #13807 by nermeen
Dear Pooja,
With Pen you intend the ink button? it's unrelated to the form editing.

For ink button:
This is the default behavior, a button click is needed to confirm the action.
If you need to confirm on the ACTION_UP event for example, you can edit PDFLayoutView.onTouchInk as:
Code:
case MotionEvent.ACTION_CANCEL: m_ink.OnUp(event.getX(), event.getY()); PDFSetInk(1); break;
Note, you will need also to enable/disable other buttons as done currently in PDFViewController.onClick
Time to create page: 0.383 seconds
Powered by Kunena Forum