title: ApplicationInfo.java to Gridview
body: <p>I want the user's recently used applications to show up in a GridView. So far, I know I need to include this: <a href="http://developer.android.com/resources/samples/Home/src/com/example/android/home/ApplicationInfo.html" rel="nofollow">http://developer.android.com/resources/samples/Home/src/com/example/android/home/ApplicationInfo.html</a></p>
  
  <p>And I have the GridView setup in main.xml:</p>
  
  <pre><code>&lt;GridView
      android:id="@+id/Icons"
      android:layout_width="match_parent"
      android:layout_height="739px"
      android:layout_marginTop="42px"
      android:columnWidth="122px"
      android:horizontalSpacing="31px"
      android:numColumns="4"
      android:verticalSpacing="42px" &gt;
  
  &lt;/GridView&gt;
  </code></pre>
  
  <p>But how would I load the applications in that space?</p>