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/commonsguy http://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

