title: How to get a list of installed android applications and pick one to run
body: <p>I asked a similar question to this earlier this week but I'm still not understanding how to get a list of all installed applications and then pick one to run. </p>
  
  <p>I've tried: </p>
  
  <pre><code>Intent intent = new Intent(ACTION_MAIN);
  intent.addCategory(CATEGORY_LAUNCHER);
  </code></pre>
  
  <p>and this only shows application that are preinstalled or can run the <code>ACTION_MAIN</code> Intent type.</p>
  
  <p>I also know I can use <code>PackageManager</code> to get all the installed applications, but how do I use this to run a specific application?</p>