Application List


Last Updated:

  1. Jacob Malliet

    Jacob Malliet Active Member This Topic's Starter

    Joined:
    Jun 13, 2010
    Messages:
    29
    Likes Received:
    1
    Hey, currently in my program I have a list of all installed applications using getPackageManager().getInstalledApplications.

    But when I do this i get many more applications than I need/want. How would i filter through them and only leave the ones from the app drawer?
     

    Advertisement
  2. IanGClifton

    IanGClifton Well-Known Member

    Joined:
    Feb 7, 2010
    Messages:
    111
    Likes Received:
    19
    I believe you want queryIntentActivities()
    PackageManager | Android Developers

    Set up an intent with "android.intent.action.MAIN" as the action and the "android.intent.category.LAUNCHER" category to pass.
     
    Jacob Malliet likes this.

Share This Page

Loading...