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

  • Home
  • SEARCH
  • 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 8514295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:49:28+00:00 2026-06-11T04:49:28+00:00

I have an android app that needs to hide and only appear when the

  • 0

I have an android app that needs to hide and only appear when the user dials a specific number. Can I please know exactly how it is done? I have searched and no success. Thanks in advance.

  • 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-11T04:49:30+00:00Added an answer on June 11, 2026 at 4:49 am

    In order to hide the app completely from the launcher, you need first to create a BroadcastReciever:

       public class LaunchAppViaDialReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO Auto-generated method stub
        Bundle bundle = intent.getExtras();
        if (null == bundle)
            return;
        String phoneNubmer = intent.getStringExtra(Intent.EXTRA_PHONE_NUMBER);
        //here change the number to your desired number
        if (phoneNubmer.equals("<Requested Number>")) {
            setResultData(null);
            if(status == true){
                PackageManager packageManager = context.getPackageManager();
                ComponentName componentName = new ComponentName(context,
                        YourLauncherActivity.class);
                packageManager.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
                        PackageManager.DONT_KILL_APP);
                Intent appIntent = new Intent(context,    YourLauncherActivity.class);
                appIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                context.startActivity(appIntent);
            }
        }
    }
    

    And add the Permission: android.permission.PROCESS_OUTGOING_CALLS
    Add the BroadcastReciever to the Manifest File.

    It is Preferable to make the user set the Ghost mode via preferences

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client who needs an Android App that can recognize spoken commands.
I have a dialog in an Android app that I don't want the user
Lets say you have a web app related Android app that requires the user
I am developing an Android app that needs to receive specific informations for each
In my Android app, I have some data that needs to be synced daily
I have an Android client that needs to authenticate with a python Google App
I have an android app which needs to be signed using a specific keystore
I have an Android app that needs to be built for different environments (e.g.,
I have an app that needs to open an XPS file. I can use
I have an android app that needs to connect frequently to the server 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.