Dynamically Modifying Contextual/Long-Press Menu in EditText Based on Position of Long Press
<p>I am using an EditText widget and would like to modify the context menu that is displayed when the user long presses the view.  The problem that I am having is that I need to know the character position within the text of the long press so I can determine what I need to add to the context menu.  The base class is doing this because one of the choices in the menu is 'Add “word_clicked_on” To Dictionary.'  Setting ClickableSpans within the text does not appear to be a solution since it consumes the click event which makes it impossible to move the edit cursor within the spans. </p>
