Getting starting index and ending index of selected text
<p>Im copying text from webview using the following APIs.</p>

<pre><code>KeyEvent shiftPressEvent = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_SHIFT_LEFT, 0, 0);
shiftPressEvent.dispatch(webView);
</code></pre>

<p>Now i want to get the start index and end index of selected text. Is it possible? Can you guys please help?</p>
