title: How to get the response in the onPostExecute?
body: <p>I'm trying to get a response in the onPostExecute method. The aim is to display an AlertDialog after testing the result value so, I’ve done it in the doInBackground but isn't logic I suppose? And I’ve think to do it in the onPostExecute but still have no idea how i can get the response.Ther is my code</p>
  
  <pre><code>//@Override
      protected void onPostExecute(final Boolean success/*,String result*/) {
          //LoginTask = null;
          //showProgress(false);
          //delegate.processFinish(result);
  
          if (success) {
             /* AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
              builder.setTitle("Succes !");
              builder.setMessage("your new password has been sent to the email address you specified. \nThink to change it later!")
                      .setCancelable(false)
                      .setPositiveButton("OK", new DialogInterface.OnClickListener() {
                          public void onClick(DialogInterface dialog, int id) {
                              dialog.cancel();
                          }
                      });
              AlertDialog alert = builder.create();
              alert.show();*/
              finish();
          } else {
              //password.setError(getString(R.string.error_incorrect_password));
              //password.requestFocus();
              /*AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
              builder.setTitle("Error !");
              builder.setMessage("This email does not exist")
                      .setCancelable(false)
                      .setPositiveButton("OK", new DialogInterface.OnClickListener() {
                          public void onClick(DialogInterface dialog, int id) {
                              dialog.cancel();
                          }
                      });
              AlertDialog alert = builder.create();
              alert.show();*/
  
          }
  
      }
  </code></pre>