Dev:AppList

AppList is a library for fetching app information. As described on its package page in Cydia: "Allows developers to query the list of installed apps and provide a preferences pane based on that information. Exports displayIdentifier, displayName, icon and smallIcon via a remote messaging center so that it's easy to write a prefs pane that presents a list of apps."

How to use this library
Headers are available from Applist's GitHub project and the library can be found at  on a device where Applist is installed. If using Theos, place the headers in, the library in   and add   to the   Makefile variable.

With PreferenceLoader
The common way to use AppList is via its PreferenceLoader (preferences) integration, by putting entries in a PreferenceLoader plist: AppListSample.plist.

To access the list of applications use the following:

Then to filter by enabled apps:

As seen in https://github.com/iceNuts/DisableNC-Switch

Without PreferenceLoader
To get an array of applications and their display identifiers, do the following: This gives you a list of all the apps in alphabetical order by their display name.

To get the display identifier and icon for a specific app at index  do the following:

As seen in https://github.com/twodayslate/ListLauncher7