Is there a possibility to copy to clipboard from a TextView UI component only the selected text?
I’ve catched the long press event and I copied the full text to clipboard, but now I want to specify the start and the end of the selection to be copied from a TextView.
Thank you.
EDIT (The previous is the full answer, but I ran into my answer by mistake so I would like to add):
With Newer APIs, change the last two lines to :
"Copied Text"is a title for your COPY entity in newer APIS