In NerdLauncherFragment extend change Fragment to ListFragment. Add method sortActivities. Instantiate an adapter and setListAdapter. Now app shows list of apps.