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.

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

To do: Add missing keys "listed" in the source code.

PreferenceBundle Approach
To get an array of applications' bundle identifiers and their display names sorted in alphabetical order by their display name:

To get the display identifier and icon for a specific app at index, choose a size from this enum:

And use the following snippet:

As seen in ListLauncher7.

Retrieving Settings
To access the list of applications use the following, filtered by enabled apps:

This should be revised

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