Hi,
you can select the text by using the 4th button of the pdf toolbar, then in the dialog select "Copy text to clipboard".
In the java code you will get the selected text in
OnPDFSelectEnd method of PDFViewAct class, to copy it to clipboard you have to add the following code in that method after the first
if( rad_group.getCheckedRadioButtonId() == R.id.rad_copy ) :
if( rad_group.getCheckedRadioButtonId() == R.id.rad_copy )
{
Toast.makeText(PDFViewAct.this, "todo copy text:" + sel_text, Toast.LENGTH_SHORT).show();
android.content.ClipboardManager clipboard = (android.content.ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
android.content.ClipData clip = android.content.ClipData.newPlainText("Radaee", sel_text);
clipboard.setPrimaryClip(clip);
}