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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:26:29+00:00 2026-05-26T19:26:29+00:00

I tried posting this on the Android Developers list and didn’t hear anything –

  • 0

I tried posting this on the Android Developers list and didn’t hear anything – maybe some of you have insight into this!

I’m working on an app that should have the ability to disable incoming calls for a user-specified period of time. It should work much the way a “DND” (do not disturb) button works on an office phone.

I’ve looked over the SDK, and I can’t find any way to send phone calls to voicemail or disable the big incoming call screen without putting the phone in airplane mode. That would be OK if I could keep Bluetooth enabled. (I’d like the user to be able to listen to music via a Bluetooth headset while phone calls are blocked.)

In summary, any of the following would work if I could do them from my app:

  1. Programmatically send all calls to voicemail (like a “DND” button) this would be ideal since it would still be in the call log at the end of the “do not disturb” time.
  2. Intercept the incoming call in my app and bounce it.
  3. Disable all radios but Bluetooth and Wi-Fi – This has the disadvantage of losing the call log.
  4. Prevent the built-in phone call app from displaying its incoming call screen (I can disable the ringer and vibration) even though the call is received

Is any of these possible? Or maybe another approach I haven’t thought of?

Just a side note: For Android phones to be the best possible productivity tool, it should be possible to use a device for email/Internet/apps without receiving constant interruptions from calls. Humans have a significant context-switch time.

  • 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-26T19:26:29+00:00Added an answer on May 26, 2026 at 7:26 pm

    As a security measure, the SDK does not provide APIs to handle incoming calls. Apart from cutting off the network radio and going into a semi-airplane mode (Option 3), I don’t see how this is possible, IMHO.

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

Sidebar

Related Questions

Before posting this question, I have tried so many things but that was not
I tried posting this to the ServerFault forum, but maybe StackOverflow is the right
Does this create some kind of perpetual loop or something? I've tried posting data,
(I've tried posting this on YUI message group but without any luck) Can anyone
Tried posting this before but it did not go through (i think) so if
I tried posting this question earlier but was unsuccessful so I'm trying again I
< I have reviewed the related questions shown by SO before posting this >
I noticed prior to posting this question that there have been similar questions posted
After I posting this question I tried to reproduce the problem of accidental rvalue
*I'm re-posting this question because I only got one response before, and it didn't

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.