How to override the <ENTER> key behaviour of the virtual keyboard in Android
I want to override the behaviour of the ENTER key of the virtual keyboard so that: when there are more fields on the screen, it 'tabs' to the next field when it is the last field of the screen, it performs the default action of the screen I've been playing with the IME options and labels, but just don't get what I want. Anybody have any suggestions? Aak With help on another forum, I found the way to do it. To make it reusable, I have created my own super dialog class that contains 2 OnKeyListener objects and an abstract submit method: public abstract class MyAbstractDialog extends Dialog { /**