画像の周りを流れるフローテキストビューを使用しています。ロングタッチでテキストを選択したい..フローテキストビューでそれを行うにはどうすればよいですか..これまでに行ったことは
txtDesc = (FlowTextView) findViewById(R.id.tDescription);
txtDesc.setText(temp_desc);
CharSequence stringYouExtracted = text.getText();
int startIndex = text.getSelectionStart();
int endIndex = text.getSelectionEnd();
stringYouExtracted = ( stringYouExtracted).subSequence(startIndex, endIndex);
getSystemService(CLIPBOARD_SERVICE);
if(android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.ECLAIR)
{
android.text.ClipboardManager clipboard = (android.text.ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE);
clipboard.setText(stringYouExtracted);
} else {
ClipboardManager clipboard = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE);
System.err.println("clipboard to select"+clipboard);
}