Questions tagged [callblocking]

40 questions
74
votes
5 answers

How to block calls in android

I want to block calls from few numbers, for that I want to write a app of my own. So what are the APIs which I should be using? Basically I want to get notified when a call comes, i want to compare numbers if it is what i want to block, i want to…
Anurag Uniyal
  • 77,208
  • 39
  • 164
  • 212
15
votes
6 answers

Rejecting Incoming call in android

I want to reject incoming in android, I have seen so many code from these links. Android: Taking complete control of phone(kiosk mode), is it possible? How? How to Reject a call programatically in…
Zubair
  • 294
  • 1
  • 5
  • 19
10
votes
2 answers

How to Reject a call programatically in android

In my app I will maintain a list of contacts. Any calls from contacts in the list will be dropped. They will show under missed calls but the phone will not ring.
harish
  • 245
  • 1
  • 3
  • 13
6
votes
3 answers

How to make number not reachable (similar to call blocker)?

There are lot of call blocking application for mobile, like NQ Call Blocker. But in these applications, if we add a number to blacklist, the caller will hear "Busy Tone". Also the caller can hear "Ringing Tone" for a fraction of second. Which means,…
Gokul Nath KP
  • 13,135
  • 24
  • 77
  • 112
5
votes
0 answers

CallKit call blocking extension automatically disables occasionally

I have an app with a CallKit call blocking extension. Generally it works fine, but on some devices it occasionally becomes disabled by itself (well, in fact by iOS I guess) after a while – so user has to go to Settings and re-enable it again…
degapps
  • 794
  • 6
  • 10
5
votes
3 answers

Call blocking feature in iOS 10

I am trying to integrate CallDirectory Extension for blocking some incoming call. But application is not even recognising the numbers provided for blocking. Is there anyone who have succeeded in doing this ?? You can see the format that i have…
good4pc
  • 663
  • 3
  • 16
5
votes
3 answers

Block incoming calls and sms in android

I tried to block incoming calls and sms in android for given numbers. after we block a number, when we getting a call from that blocked number, caller can here voice message as Number Busy. But is there any way to change this voice message to Power…
Bishan
  • 14,035
  • 48
  • 151
  • 235
3
votes
2 answers

Incoming Call Blocking When App is Open

I have successfully implemented the code for blocking call but it is blocking all the calls even if I closed the application. I need to block the call when a specific activity is opened(if it is not possible the block call when app is open also ok).…
arjun babu
  • 57
  • 1
  • 10
3
votes
3 answers

CallKit doesn't block numbers from array

I create numbers array from CNContact in singleton. But when I reload my CallKit extensions CallKit doesn't block number that I blocked before. Number length is 11 characters. Array isn't null. After reload CallKit Extension there is no…
3
votes
2 answers

Block incoming calls

my VoiP-client would like to block all incoming calls to the phone while my own call is taking place. Is it possible to do this somehow?
pgsandstrom
  • 13,733
  • 12
  • 68
  • 102
2
votes
1 answer

How to Block Call in Android Nougat, Oreo and above programatically?

This code works fine till Android 6 (Marshmallow): TelephonyManager tm = (TelephonyManager) context .getSystemService(Context.TELEPHONY_SERVICE); Class c = Class.forName(tm.getClass().getName()); Method m =…
2
votes
1 answer

Exporting data from BigQuery to GCS - Partial transfer possible?

I am currently exporting my data (from a destination table in Bigquery) to a bucket in GCS. Doing this programmatically using the Bigquery API. There is a constraint while exporting data from Bigquery to GCS - the data should not be greater than…
2
votes
0 answers

While blocking incoming call in android, it ring briefly for fractions of second, how to overcome this issue

I have a broadcast receiver, add before blocking the call matching the incoming number with the local database also i have added below permissions in my manifest and also register this broadcast receiver: @Override public void onReceive(Context…
User413
  • 43
  • 1
  • 12
2
votes
0 answers

Call block in IOS 7.0 + Private API

How can we block call from iphone ( > IOS 7.0), through programmatically. Any private API.
user917256
  • 66
  • 4
2
votes
3 answers

Not able to compare two string in android

I'm new to Android. I'm developing an app which blocks unwanted calls. Now I'm stuck here when I try to compare the incoming number with the numbers in contact. Here is the code. Please help. Here while checking a Checkbox I need to block all calls…
Deepthi
  • 863
  • 1
  • 12
  • 20
1
2 3