Hi Murphy, What I trying is to insert keystrokes into a WebView which will load a URL. In the webpage there will be data field in which i want to copy/ paste some data there. How do I go about doing this? Can KeyEvent work in such a scenario?
Regards, Perumal On Mar 17, 8:00 pm, Mark Murphy <[email protected]> wrote: > On Thu, Mar 17, 2011 at 2:54 AM, perumal316 <[email protected]> wrote: > > Is it possible to use the KeyEvent API for copy/paste functionality? > > You don't need to. > > > It is possible to insert keystrokes into a TextView using KeyEvent. > > TextViews are non-editable. > > > How do I copy the string from a TextView using KeyEvent? > > You don't. > > > Is there any other way? > > Call getText() on the TextView. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training in London:http://bit.ly/smand1,http://bit.ly/smand2 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

