From the class that extends WebView:
public void selectAndCopyText() { try { Method m = WebView.class.getMethod("emulateShiftHeld", null); m.invoke(this, null); } catch (Exception e) { throw new AssertionError(e); }}
And then you have to use ClipboardManager to watch for new text.
P.S. Historical note: this hack is based on Android 1.5 WebView implementation.
1More
1More
Android Developers Blog: Final Android 3.0 Platform and Updated SDK Tools - 1 views
« First
‹ Previous
61 - 80
Next ›
Last »
Showing 20▼ items per page