title: Image sharing to the other application by Intent
body: <p>I am making an app and I wanna share images from my app to a specific app</p>
  <p>so i used this code to share via choose</p>
  <pre><code>try {
      Intent sharingIntent = new Intent(Intent.ACTION_SEND);
  
      // path of image
      final String imageURIPath = &quot;image-path&quot;;
      Uri imageURI = Uri.parse(imageURIPath);
  
      sharingIntent.setType(&quot;image/jpeg&quot;);
      sharingIntent.setType(&quot;image/jpg&quot;);
      sharingIntent.setType(&quot;image/png&quot;);
      sharingIntent.putExtra(Intent.EXTRA_STREAM, imageURI);
      startActivity(Intent.createChooser(sharingIntent, &quot;Share via app&quot;));
  } catch (Exception e) {
      showMessage(e.toString());
  }
  </code></pre>
  <p>and all work perfectly but I need to share to a specific app like this</p>
  <pre><code>shareIntent = getPackageManager().getLaunchIntentForPackage(&quot;app_PackageName&quot;);
  startActivity(shareIntent);
  </code></pre>
  <p>so 'app_PackageName' chage to like app what i need like this example</p>
  <pre><code>shareIntent = getPackageManager().getLaunchIntentForPackage(&quot;com.adobe.lrmobile&quot;);
  startActivity(shareIntent);
  </code></pre>
  <p>and I build the app without errors but when I wanna share to that app it just opens that app</p>