I have turned on the ability to select text on a label like this:
Dim jo As JavaObject = Label
jo.RunMethod("setTextIsSelectable", Array As Object(True))
And using this method, I have created my custom-context-menu-for-text-selection :
This example uses inline Java with JavaObject to allow creating custom context menus when the user selects text. To use it in your project you need to add the inline Java code and implement this method: Sub ContextMenu_Create(ActionMode As JavaObject, FocusedView As View) Dim menu As...
Now I need to be able to get the selected text on the label when executing ContextMenuClick_Event.
This is easy for Edittext but how will it be done for Label?