Could we use long press to control copy&paste - 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: Could we use long press to control copy&paste

Could we use long press to control copy&paste 3 years 6 months ago #8922

  • leo415
  • leo415's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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 3 years 6 months ago #8924

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • 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 3 years 6 months ago #8925

  • leo415
  • leo415's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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