http://developer.android.com/reference/android/view/View.OnLongClickListener.html

Implement an View.OnLongClickListener and set it to your EditText
via
EditText txt = (EditText)findViewById(R.id.your_edittext_id);
...
txt.setOnLongClickListener(...)

Check out
http://tseng-blog.nge-web.net/blog/2009/02/14/implementing-listeners-in-your-android-java-application/
and
http://tseng-blog.nge-web.net/blog/2009/02/17/how-implement-your-own-listener-android-java/

If you want to know more about listeners and how to implement them.


On Jun 14, 6:36 pm, Synapse <franzi...@gmail.com> wrote:
> How can I change choise from contextual menu of EditText ( Menu that
> includes copy/paste funcionality ) ?
> Anyone has some piece of code?
>
> Synapse
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to