Reputation: 7179
I think the question says it all: How can I get a list of apps which can create a notification. I can get a list of all apps with this code:
final PackageManager pm = getPackageManager();
List<ApplicationInfo> packages = pm.getInstalledApplications(PackageManager.GET_META_DATA);
but there are system apps and so on. How can I only get the apps which can create a notification?
Upvotes: 0
Views: 276
Reputation: 75645
You can't. Notification is not exposed in Manifest, so you cannot see that without reverse engeneering.
Upvotes: 2