views:

31

answers:

1

I am trying to execute an event mouse press within my android application. When the user enters a CARRIAGE RETURN when entering text into a text field. I would like to execute a mouse button press on an ADD button when that character is detected in my OnClickListener for that EditText ui.

A: 

Take a look of this article: Generating keypresses programmatically

Cristian