title: Android Launcher get Camera icon and label
body: <p>I'm trying to replicate the application grid that Android have by default, loading all the "launchable" appliactions. </p>
  
  <p>I do it this way. </p>
  
  <pre><code>//generate the intent to get the application list 
  final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
  mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
  
  PackageManager manager = getPackageManager();
  applicationList = manager.queryIntentActivities(mainIntent, 0);
  
  //sort the list 
  Collections.sort(applicationList, new ResolveInfo.DisplayNameComparator(manager));
  
  //user in calculating percentage. 
  if (applicationList.size() &gt; 0 ){
      for (ResolveInfo info : applicationList) {
  </code></pre>
  
  <p>once I've the list handle it to show the name + icon of the application in a grid view, but when it comes to the camera, I keep getting the Gallery label and icon. </p>
  
  <p>for getting the label I use: </p>
  
  <pre><code>PackageManager manager = getPackageManager();
  (String) manager.getApplicationLabel(applicationInfo)
  </code></pre>
  
  <p>for getting the icon </p>
  
  <pre><code>info.loadIcon(getContext().getPackageManager());
  </code></pre>
  
  <p>where info is a ApplicationInfo object. </p>
  
  <p>I wonder what could be happening.  </p>
  
  <p>so far I've just notice that application but it maybe another. </p>
  
  <p>anyone know how can I get the Camera application from the camera ResolveInfo </p>
  
  <p>while debuging I toke an screen shot this is the information I got for that ResolveInfo </p>
  
  <p><img src="https://i.stack.imgur.com/9aWO0.png" alt="Camera Resolve Info (information) "></p>
  
  <p>Thanks in advice. 
  Cesar Glez. </p>