Alrright here's what I'm trying to do. I'm using this code:

final PackageManager pm = getPackageManager();
List<ApplicationInfo> packages =
pm.getInstalledApplications(PackageManager.PERMISSION_GRANTED);
for (ApplicationInfo packageInfo : packages) {
    if ((packageInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 1)
    {
        //irrelevant code here
    }
}

To filter out the system packages from the user applications for an
application launcher. The problem with this approach is that it also
filters out apps like the Camera app. What can I do so that it doesn't
exclude these apps that are somewhat essential to be in an application
launcher but are already part of the Android OS?

I hope you understood what I'm trying to say...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to