title: OnKeyListener() not working on Samsung Galaxy S3
body: <p>I have applied OnKeyListener() on EditText &amp; it's not working on Samsung Galaxy S3 but working on all other phones...
  Don't know what i am doing wrong... </p>
  
  <pre><code>  et = (EditText) findViewById(R.id.editText1); 
    et.setOnKeyListener(new OnKeyListener() {
  
          @Override
          public boolean onKey(View arg0, int keyCode, KeyEvent arg2) {
              // TODO Auto-generated method stub
              // You can identify which key pressed buy checking keyCode value
              // with KeyEvent.KEYCODE_
              if (keyCode == KeyEvent.KEYCODE_DEL) {
                  // this is for backspace
                  Log.d("Button Event", "BackSpace Pressed");
                  if (et.getSelectionStart() &lt; length + 1) {
                      return true;
                  } else {
                      return false;
                  }
              }
              return false;
          }
  
      });
  </code></pre>