title: trouble converting a editable to a string in an alertdialog that saves using fileoutput
body: <p>In my alertdialog the user enters a comment on a Edittext.  When I convert the Editext to an editable then save the editable, it works.  However when I try to concat it with other values into a string, it does not save the editable.  When I use .toByte when concating with the string, it saved the bytes. I put a // by where the code is that is not working.
  Here is my code.</p>
  
  <pre><code>    LayoutInflater inflater = LayoutInflater.from(this);
          final EditText input = new EditText(this);
          new AlertDialog.Builder(this)
          .setTitle("Comments")
          .setMessage("Enter Comments below")
          .setView(input)
          .setPositiveButton("Enter",  new DialogInterface.OnClickListener() {
              Editable value = input.getText();
              String string= value.toString()+ " "+ parent[groupPosition] + " "
  </code></pre>
  
  <p>//it does not combined value.toString() to the string.
                  + kids[groupPosition][childPosition];</p>
  
  <pre><code>            @Override
              public void onClick(DialogInterface dialog, int which) {
                  try {
  
                      FileOutputStream fos = openFileOutput("repairs",
                              Context.MODE_PRIVATE);
  
                      fos.write(string.toString().getBytes());
  
                      fos.close();
  
                  } catch (Exception e) {
  
                      e.printStackTrace();
  
                  } 
  </code></pre>