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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:12:50+00:00 2026-05-20T22:12:50+00:00

I need the code open shazam(other intalled applications in the phone) if its installed.

  • 0

I need the code open shazam(other intalled applications in the phone) if its installed.
How can I check whether shazam is installed in a phone,and if installed how can I open it from my app?If any one have idea please help.Thanks in advace.

  • 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-05-20T22:12:50+00:00Added an answer on May 20, 2026 at 10:12 pm
    public static ApplicationDescriptor getApplicationDescriptor(String appName) {
        try {
            int[] moduleHandles = CodeModuleManager.getModuleHandles();
            if (moduleHandles != null && moduleHandles.length > 0) {
                for (int i = 0; i < moduleHandles.length; i++) {
                    ApplicationDescriptor[] applicationDescriptors = CodeModuleManager.getApplicationDescriptors(moduleHandles[i]);
                    if (applicationDescriptors != null && applicationDescriptors.length > 0) {
                        for (int j = 0; j < applicationDescriptors.length; j++) {
                            if (applicationDescriptors[j].getModuleName().toLowerCase().equals(appName.toLowerCase())) {
                                return applicationDescriptors[j];
                            }
                        }
                    }
                }
            }
        } catch (Exception e) {
            System.out.println("error at getApplicationDescriptor" + e);
        }
        return null;
    }
    
    public static int runApplication(String appName) {
        int processId = -1;
        ApplicationDescriptor appDescriptor = getApplicationDescriptor(appName);
        if (appDescriptor != null) {
            //is not null Application installed
            processId = ApplicationManager.getApplicationManager().getProcessId(appDescriptor);
            if (processId == -1) {
                // -1 if application has no process (i.e. is not running).
                try {
                    processId = ApplicationManager.getApplicationManager().runApplication(appDescriptor);
                } catch (ApplicationManagerException e) {
                    e.printStackTrace();
                }
            }
        }
        return processId;
    }
    

    call runApplication like

    int pid=-1;
        if((pid=runApplication(appName))>-1){
                //application running
                System.out.println(appName +" runing with process id "+pid);
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First the requirements: By management requirements, I can't use open source code. I need
I need to open a new window from code-behind on post-back if a specific
I need some asp.net pagination code samples. I would like suggestions on open source
Several forms from my application use the same open file dialog. I need to
hello all i have code from open source project that im integrating into my
I need code in Perl for requesting and parsing ATOM and RSS feeds. Is
Am I doing something wrong if I need code like this in a Controller?
how to send rich text message in system.net.mail need code for send a mail
How to create simple PHP COMET server page displaying current time? I need code
I need to code a solution for a certain requirement, and I wanted 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.