1. Download our Official Android App: Forums for Android!

Apps Application List

Discussion in 'Android Development' started by Jacob Malliet, Jun 15, 2010.

  1. Jacob Malliet

    Jacob Malliet Newbie
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    29
    Joined:
    Jun 13, 2010

    Jun 13, 2010
    29
    1
    36
    School :/
    Wisconsin
    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
    Rank:
    None
    Points:
    58
    Posts:
    111
    Joined:
    Feb 7, 2010

    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...