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

TOPIC:

Could we use long press to control copy&paste 8 years 11 months ago #8922

  • leo415
  • leo415's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi,

I want to know why we couldn't use long press event to control select text content(copy & paste), i found the select event conflict with scroll.
Could we use long press event to control select, and can scroll at the same time.

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

Could we use long press to control copy&paste 8 years 11 months ago #8924

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you can Override the
public void OnPDFLongPressed(float x, float y)
and handle your copy/paste event as you want..

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

Could we use long press to control copy&paste 8 years 11 months ago #8925

  • leo415
  • leo415's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
I think i couldn't scroll the pdf , while I setting the status select.
Below is the code from the demo.

m_status = STA_SELECT;
m_view.vSetSelStatus(true);

Can you give me any help?

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

Last edit: by leo415.
  • Page:
  • 1
Powered by Kunena Forum