data from edit text
===

I am getting the data of edit text fields like this:

   

     editfield1.setOnEditorActionListener(this);

then
 

   

     @Override
    	public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
    		InputMethodManager imm = (InputMethodManager)v.getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
    		if (actionId == EditorInfo.IME_ACTION_DONE ||(event.equals(KeyEvent.KEYCODE_ENTER))||(event.equals(KeyEvent.KEYCODE_DPAD_CENTER))){
    			imm.hideSoftInputFromWindow(v.getWindowToken(), 0);
    			String data= editfield1.getText().toString();
    		}
    	}

This is working fine for some android device samsung 2.2. because to get each edit field 
some key event must be there.

But if I try to run in micromax 4.0, not able to get the data from all edit fields.
because here i can touch each edit field and write the value.. so no key events.

How can I solve this.
Please help.


