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 9054709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:45:24+00:00 2026-06-16T13:45:24+00:00

I need to start another application from mine in the following order: Check all

  • 0

I need to start another application from mine in the following order:

  1. Check all installed applications on device and find the applications that has a specific string on their name and list them so they can be selected and launched(eg checks for all the application which contain “timer” in their name such as “perfect timer”,”your timer”, etc.)

2.if no application is available, start Google Play and search for the name(eg “timer”).

  • 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-16T13:45:26+00:00Added an answer on June 16, 2026 at 1:45 pm

    you will need to use PackageManager for getting all installed Applications name and use getLaunchIntentForPackage for launching application if it contain specific string :

    PackageManager pm = getPackageManager();
      List<ApplicationInfo> packages = 
                      pm.getInstalledApplications(PackageManager.GET_META_DATA);
    
      for (ApplicationInfo packageInfo : packages) {
       if(packageInfo.packageName.toLowerCase().
                       contains(""perfect timer".toLowerCase())){
    
         Intent intent = 
                    pm.getLaunchIntentForPackage(packageInfo.packageName);   
          if (intent != null)  {
             intent.addCategory(Intent.CATEGORY_LAUNCHER);
             startActivity(intent);  
          }  
      } else{
                // Launch google play app here
                String apppackname = "com.example.appname";
                 Intent intentapp=new (Intent.ACTION_VIEW, 
                    Uri.parse("market://search?q="+apppackname)));
                 startActivity(intentapp);
          }       
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Do you know is it possible to start iPad application from another application that
I want to (need to) start a sub-process from a perl script that checks
In the application that I'm working on right now, I need to periodically check
I am creating a GUI application(wxPython). I need to run another (.exe) application from
I need to start H2 database in server mode from my application. Having tried
I need to start a copy of a Rails app from within Java. I
I need to start NSTimer by 0:0:0 that I am doing and I have
I need to start a project that will be json-API-centric, which means that most
I want to build an application (app A) that builds another application (app B)
I have got an application where I need to show counter from 3 to

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.