4

The documentation for WebView.emulateShiftHeld() says:

Use this method to put the WebView into text selection mode. Do not rely on this functionality; it will be deprecated in the future.

What does "put the WebView into text selection mode" mean?

To clarify:

  1. Does "text selection mode" work the same for WebView as in other views?
  2. Does "text selection mode" work the same on the emulator as in other, real, devices?

On the emulator, for example, I tie the function to a menu item, and when I select that item (on the emulator), and start dragging the mouse over some text, I have 2 fat cursors ("handles"?) marking the beginning the start & end of the selection. When I click the end "hand", I receive a pop-up balloon saying "Text copied to clipboard".

Regex Rookie
  • 10,432
  • 15
  • 54
  • 88
  • pls give me some detail how you able to put webview in to text selection mode. im struggling with it..http://stackoverflow.com/questions/6058843/android-how-to-select-texts-from-webview – vnshetty May 26 '11 at 11:53

1 Answers1

1

What does "put the WebView into text selection mode" mean?

Your WebView translate into selection mode. Which enables uses to copy text into clipboard. Latter he might paste to pate in some editors.

To clarify:

  1. Does "text selection mode" work the same for WebView as in other views?
  2. Does "text selection mode" work the same on the emulator as in other, real, devices?

Expect WebView other Views doesn't support "Text selection".

Sukumar
  • 1,303
  • 10
  • 15