title: Android: Share Image on Hangout
body: <p>I try to share an image to hangouts, but "file.exists()" is false... Any suggestions? </p>
  
  <pre><code>Intent hangouts = new Intent(Intent.ACTION_SEND);
  if(!Utilities.isNullorEmpty(urlImage)){
     File file = new File(urlImage + JPEG_EXT);
     hangouts.setType(MIME_TYPE_IMG);
     if(Utilities.copyFile(urlImage, file.getPath()) &amp;&amp; file.exists()){
        hangouts.putExtra(Intent.EXTRA_STREAM, file.getPath());
     }else{
        Log.e(TAG, "Unable to locate the image on disk, sending mail without attached image.");
     }
  }else{
     hangouts.setType(MIME_TYPE_TP);
  }
  hangouts.setPackage(PACKAGE_H);
  hangouts.putExtra(Intent.EXTRA_TEXT, message + ": \n" + urlShare);
  startActivity(Intent.createChooser(hangouts, "Hangouts is not installed."));
  </code></pre>