title: Whatsapp error Audio/Sound setResult intent
body: <p>I have an app that can send a normal intent by calling startActivity with:</p>
  
  <pre><code>Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND);
  sharingIntent.setType("audio/*");
  sharingIntent.setPackage("com.whatsapp");
  sharingIntent.putExtra(android.content.Intent.EXTRA_STREAM, Uri.fromFile(filepath));
  startActivity(sharingIntent);
  </code></pre>
  
  <p>But i want my app on whatsapp attach menu (Audio Item specifically) like this related discussion example: <a href="https://stackoverflow.com/questions/15900842/returning-an-image-to-whatsapp">Returning an Image to whatsapp</a></p>
  
  <p>So, i used the code below, my app is showed on menu but when i do the share steps i get whatsapp "Share failed, please try again" error message. Others similar apps do the steps with the final step showing the Whatsapp Recorder dialog to apply sound on chat.</p>
  
  <p>On this second feature (whatsapp internal intent-filter sharing) i use the same intent but with this:</p>
  
  <pre><code>setResult(RESULT_OK, buildSoundShareIntent(soundId));
  finish();
  </code></pre>
  
  <p>instead of <code>startActivity</code></p>
  
  <p>Is there something specific and hidden that i dont find?</p>