title: Share image and text through Whatsapp or Facebook
body: <p>I have in my app a share button and i want to share an image and a text at the same time. In GMail it works fine but in WhatsApp, only the image is sent and in Facebook the app crashes.</p>
  
  <p>The code i use to share is this:</p>
  
  <pre><code>Intent shareIntent = new Intent(Intent.ACTION_SEND);  
  shareIntent.setType("image/*");
  shareIntent.putExtra(Intent.EXTRA_TEXT, "Message");         
  
  Uri uri = Uri.parse("android.resource://" + getPackageName() + "/drawable/ford_focus_2014");
       try {
          InputStream stream = getContentResolver().openInputStream(uri);
      } catch (FileNotFoundException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
  
  shareIntent.putExtra(Intent.EXTRA_STREAM, uri);
  </code></pre>
  
  <p>If I use "shareIntent.setType("*/ *")" Facebook and WhatsApp crashes.</p>
  
  <p>Is there some way to do this? Maybe sent two messages by separate at the same time (WhatsApp).</p>
  
  <p>Thanks in advance.</p>