Monday, May 20, 2013

[android help] How to catch Android soft keyboard next button event

How to catch Android soft keyboard next button event - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















I am using phonegap plugin for my app written for android. I want to catch/handle the next key event in android soft keyboard because i have some plugins like niceditor for textarea, so when i click on next button from the field before to niceditor my app gets collapsed as device does not recognize the niceditor as text field. so i want it to be handled manually.


Thanks in advance if anybody can help me out to get the solution.


























editText = (EditText)layout.findViewById(R.id.editText);



editText.setOnEditorActionListener(new TextView.OnEditorActionListener() {

@Override
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {

return false;
}
});



















default






.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...