FWIW, I was able to obtain the clipboard text by extending the WebView
class, adding my own invalidate method, and a callback. The end result
was something like this:
public MyWebView(Context ctx, AttributeSet attrs) {
super(ctx, attrs);
mClipboard = (ClipboardManager)
Use the ClipboardManager to get/set/manipulate the content in the
clipboard.
http://developer.android.com/reference/android/text/ClipboardManager.html
Regards
Sarwar Erfan
On Aug 12, 12:13 pm, Ryan Tan ryantan...@gmail.com wrote:
Hi, I am using a WebView to display some text. I want to allow
Dear Sarwar,
Thanks for your reply.
The problem I have is I don't know when the text is selected and
copied into the clipboard after firing the KeyEvent.
Thanks.
On Aug 12, 4:12 pm, Sarwar Erfan erfanonl...@gmail.com wrote:
Use the ClipboardManager to get/set/manipulate the content in the
3 matches
Mail list logo