title: Launch an application (choosing from installed on the device) using intent
body: <p>I know how to launch an application using an intent and the application's package name.</p>
  
  <p>Like this: </p>
  
  <pre><code>Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.google.android.gm");
  
  if (launchIntent != null) {
      startActivity(launchIntent);
  }
  </code></pre>
  
  <p>What I want to do is that the user could choose from the applications installed on his/her device, not a specific one.</p>
  
  <p>How can I do so? </p>
  
  <p>Also, I would like to open the other app inside a floating window (maybe in custom alert dialog or equivalent if there is a possibility to do so)</p>