[°³¹ß Tip] WebView¿¡¼ ¹®ÀÚ¿ ¼±ÅÃÇϱâ |
|
|
 |
8³â Àü |
http://stackoverflow.com/questions/1111844/selecting-text-in-a-webview
The browser does this by calling public void emulateShiftHeld() method on the WebView which is hidden in the SDK. Any other options? TIA.
public void selectAndCopyText() {
try {
Method m = WebView.class.getMethod("emulateShiftHeld", null);
m.invoke(this, null);
} catch (Exception e) {
throw new AssertionError(e);
}
}
[Ãâó] [°³¹ß Tip] WebView¿¡¼ ¹®ÀÚ¿ ¼±ÅÃÇϱâ (¾Èµå·ÎÀ̵尳¹ß Ä«Æä [°³¹ßÀÚ Ä¿¹Â´ÏƼ]) |ÀÛ¼ºÀÚ ¿¡µðÅÍ |
|
̵̧ : 270 |
̵̧
¸ñ·Ï
|
|