Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7758671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:25:16+00:00 2026-06-01T13:25:16+00:00

So I did that to get all the applications: final Intent mainIntent = new

  • 0

So I did that to get all the applications:

final Intent mainIntent = new Intent();
final List<ResolveInfo> pkgAppsList = getApplicationContext()
    .getPackageManager().queryIntentActivities(mainIntent, 0);

How do I get a specific application by its name?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T13:25:18+00:00Added an answer on June 1, 2026 at 1:25 pm

    Use the following code for getting all application names installed on device in List. And you can query the list by name.

     PackageManager pm = this.getPackageManager();
     Intent mainIntent  = new Intent(Intent.ACTION_MAIN, null);
     mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
     List list = pm.queryIntentActivities(mainIntent , PackageManager.PERMISSION_GRANTED);
     for (ResolveInfo rInfo : list) {
         results.add(rInfo.activityInfo.applicationInfo
             .loadLabel(pm).toString());
         Log.w("Installed Applications Names", rInfo.activityInfo.applicationInfo
             .loadLabel(pm).toString());
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Did you know that : Map<Object,Object> m1 = new HashMap<Object, Object>(); Map<Object,Object> m2 =
I'll start by saying that I'm fairly new to the idea of deploying applications
Did you ever use Oracle auditing features on a production db? How did that
How can I test my site in AOL without installing AOL? I did that
I rewrite the sales/order_collection Model or, perhaps, correctly said the Resource. I did that
As part of another question that did involve programming (I assure you), someone suggested
I have a script that did double inserts into the database with the same
I worked with a graphic designer that did not clone from my github account.
Let's say I had a program in C# that did something computationally expensive, like
Did anyone try that feature and has some feedback? Or Does anyone know some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.