title: addTextChangedListener doesn't work for space or backspace etc
body: <p>I'm writing an android app that sends your inputs to the pc via socket programming. I can send all the characters that you write in a textarea such as 'a','1','+' etc. but cannot send "space" or "backspace" when i touch the space on the keyboard from the screen it shuts down the app. anyone can tell why ? or any other function suggestions that i can use ? </p>
  
  <p>This is the code i wrote for the situation.</p>
  
  <pre><code>etTextArea.addTextChangedListener(new TextWatcher() {
              int x =0;
              @Override
              public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {
  
              }
  
              @Override
              public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
  
                  char characters ;
                  MessageSender messageSender = new MessageSender();
                  characters = etTextArea.getText().charAt(x);
                  messageSender.execute(String.valueOf(characters));
  
                  /*if (characters == ' ')
                  {
                      Toast.makeText(KeyboardActivity.this, " space ", Toast.LENGTH_SHORT).show();
                  }
                  else{
                      messageSender.execute(String.valueOf(karakterler));
                  }*/
  
              }
  
              @Override
              public void afterTextChanged(Editable editable) {
                  x++;
              }
          });
  </code></pre>
  
  <p>Any help would be great, thanks guys.</p>