[android-developers] Re: User selectable text in WebView

2010-09-07 Thread Dan Watling
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) context.getSystemServi

[android-developers] Re: User selectable text in WebView

2010-08-30 Thread Adriano
Hi Ryan, Did you find the solution ? Thanks Adriano On Aug 12, 8:10 am, Ryan Tan wrote: > 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, Sarw

[android-developers] Re: User selectable text in WebView

2010-08-12 Thread Ryan Tan
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 wrote: > Use the ClipboardManager to get/set/manipulate the content in the > clipboard.http://devel

[android-developers] Re: User selectable text in WebView

2010-08-12 Thread Sarwar Erfan
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 wrote: > Hi, I am using a WebView to display some text. I want to allow the > users to be abl