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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:11:56+00:00 2026-06-18T11:11:56+00:00

I wanted to ask,… What would be the most efficient way to detect the

  • 0

I wanted to ask,… What would be the most efficient way to detect the Google Voice Search (app id: com.google.android.voicesearch) installation on Android device?
And is there any way of subsequently installing it without taking user to Play Market and back to application?

  • 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-18T11:11:57+00:00Added an answer on June 18, 2026 at 11:11 am

    You can use the below method

    private boolean voiceSearchExists() {
        final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
        mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
        List<PackageInfo> packs = getPackageManager().getInstalledPackages(0);
        final List<ResolveInfo> pkgAppsList = getPackageManager().queryIntentActivities( mainIntent, 0);
        boolean packageExists = false;
        boolean activityExists = false;
        for(PackageInfo r:packs){
            String pkg = r.applicationInfo.packageName;
            if(pkg != null && pkg.equals("com.google.android.googlequicksearchbox")){
                packageExists = true;
                break;
            }
        }
        if(packageExists == false)
            return false;
    
        for(ResolveInfo r:pkgAppsList){ 
            ActivityInfo info = r.activityInfo;
            if(info!=null && info.name!=null && info.name.equals("com.google.android.googlequicksearchbox.VoiceSearchActivity")){
                activityExists = true;
                break;
            }
        }
        return activityExists;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanted to ask if there is a direct and efficient way to get
I wanted to ask if there is any way i can get path of
I wanted to ask if there is a formal way of describing the following
I wanted to ask if there is any way to control the volume of
I wanted to ask if there is a way to backed up an Amazon
I just wanted to ask is there an easier way to get records from
Hi im new to Android and just wanted to ask if there is a
I wanted to ask, I have a div that I would want to place
I wanted to ask for a tip. How would you struct your application if
i just wanted to ask if there is a way the reject all changes

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.