title: Highlighting and save the selected text from WebView?
body: <p>I am working on Android 4.0.3 . I am trying to select the text from the WebView and saving it as a string . I have tried this Code:</p>
  
  <pre><code>public void SelectText(){  
  try{  
             KeyEvent shiftPressEvent =   
             new KeyEvent(0, 0, KeyEvent.ACTION_DOWN,       
             KeyEvent.KEYCODE_SHIFT_LEFT, 0, 0);  
             shiftPressEvent.dispatch(mWebView);  
  
  }catch(Exception e){  
    throw new AssertionError(e);  
  }  
  </code></pre>
  
  <p>But it doesnot work . In Android 4 there is already an inbuilt menu for selecting text but how this menu could be overridden ??</p>