title: How to get Share Intent callback result
body: <p>I am using this method to call share my feed data:</p>
  
  <pre><code>    public void shareFeed() {
          try {
              Intent intent = new Intent(android.content.Intent.ACTION_SEND);
              intent.setType("text/plain");
              intent.putExtra(Intent.EXTRA_SUBJECT, "SUB");
              intent.putExtra(Intent.EXTRA_TEXT, "Body");
              startActivityForResult(Intent.createChooser(intent, "Choose an Email client :"), 1);
          } catch (Exception e) {
              e.printStackTrace();
          }
  
      }
  </code></pre>
  
  <p>and here's my onActivityResult code but I got data every time null in either success or fail :</p>
  
  <pre><code>  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
      if (requestCode == 1) {
          if (resultCode == RESULT_OK) {
          }
      }
  }
  </code></pre>
  
  <p>I want to perform call web-service after success so I need the share intent callback result.</p>