I have added a command to the toolbar:
getToolbar().addCommandToRightBar(_clearCommand);
The command contains an icon only.
What I would like to do is handle a long press and display a popup that describes the functionaility.
The problem I am running into is that the toolbar needs a command and I need a component to detect the long press and display the popup dialog.
How can I do this?
Thanks,
Martin