Source code and Android Library used in this sample app "AppListManager": https://github.com/LayoutXML/AppListManager
Sample app that showcases most of the features can be found in "app" folder in the above repository. Application contains two independent (for the most part) activities:
MainActivity, which demonstrates these features: • Receiving all applications (getAllApps). • Receiving new applications (getAllNewApps and broadcast receiver). • Receiving uninstalled applications (getAllUninstalledApps and broadcast receiver). • Receiving some (system) applications (getSomeApps) with flags. • Receiving all activities (with launcher intent) (getAllActivities). • Receiving new activities (with launcher intent) (getAllNewActivities and broadcast receiver). • Receiving uninstalled activities (with launcher intent) (getAllUninstalledActivities and broadcast receiver). • Sorting (sort).
ListActivity, which demonstrates these features: • Showing spinning progress bar (loading) when waiting for application/activity list. • Receiving all applications (getAllApps). • Receiving all activities (with launcher intent) (getAllActivities). • Showing application/activity list on screen. • Receiving new applications (getAllNewApps and broadcast receiver). • Receiving new activities (with launcher intent) (getAllNewActivities and broadcast receiver). • Updating the list on screen with new applications/activities. • Receiving uninstalled applications (getAllUninstalledApps and broadcast receiver). • Receiving uninstalled activities (with launcher intent) (getAllUninstalledActivities and broadcast receiver). • Updating the list on screen without uninstalled applications/activities. • Sorting (sort). • Launching applications and activities.