Questions tagged [callblocking]
43 questions
1
vote
0 answers
Programmatically add a list of numbers to phone and mark them as blocked
I am trying to develop an application which would add 1800+ numbers to the phone and mark them as blocked.
These are spam calls and few scam calls that we as a group received and would like to share this app within our group to not receive the…

curious07
- 11
- 2
1
vote
0 answers
Block calls/messages in react native application
how to block calls and messages on phone using react-native application, can't find any dependency or service of react-native.
if anyone have worked kindly help.
is it possible with java service or any alternate way?
thanks in advance

Joti Kumari
- 11
- 5
1
vote
1 answer
Sending calls to voice mail
I want to send the incoming call present in my blocked call list to voice mail.
1.) Is the only way to do it is by "SEND_TO_VOICEMAIL" present in ContactsContract api in android?
2.)If yes, then can i edit the contacts already present in my contacts…

Avtar Guleria
- 2,126
- 3
- 21
- 33
1
vote
2 answers
How to implement CallScreeningService for Andoid<=28
**What I have done so far : **
I have implement it for Android SDK 29
RoleManager roleManager = (RoleManager) getSystemService(ROLE_SERVICE);
Intent intent = roleManager.createRequestRoleIntent(RoleManager.ROLE_CALL_SCREENING);
…

Sharjeel Afzal
- 11
- 1
1
vote
1 answer
Blocking all incoming calls, sms/mms and emails in Android N and O via ADB content command
After reading about Implementing block phone numbers, I haven't found option for blocking all incoming traffic, only by particular URI
adb shell content insert --uri content://com.android.blockednumber/blocked /
--bind…

Ka1s3r S0z3
- 19
- 3
1
vote
0 answers
Use ContentObserver with BlockedNumberContract
I have a VOIP calling and texting app. I need to be able to monitor changes to the native blocked number list so I can maintain that list on my server.
Following the documentation on BlockedNumberContract at…

Marline
- 269
- 3
- 10
1
vote
0 answers
Block Call Using CallKit
How i add Contact in Directory, i had add contact in CallDirectoryHander Class it's working fine, but when i want to add phone number dynamic from view Controller Page, then not block call .
I had try following code to Add contact in directory in…

Ashok Kumar
- 225
- 4
- 9
1
vote
0 answers
How to stop a blocking call of WSAPoll
I have a case to handle. There is one thread calling WSAPoll() to receive data from TCP connection. The code looks like this:
int result = WSAPoll(fdSocket, 1, timeout);
if (result == 0)
{
// time out
}
else if (result == -1)
{
// socket…

goalmad
- 11
- 3
1
vote
1 answer
Block calls in Android
I am trying to develop a basic code to block calls in Android. My code was working initially but now it is not.
code to block all calls
@Override
public void onReceive(Context context, Intent intent) {
// TODO Auto-generated method stub
…

user3505144
- 11
- 2
1
vote
1 answer
Android Call Duration Periodic Reminder App
I'm a newbie in Android Development. I am trying to develop an app that ends the active call on reaching particular call duration given by the user. I am using reflections to achieve this but, I'm stuck in.
Can anybody help me continue?
My pgm…

linvenuza
- 119
- 8
0
votes
1 answer
How to block dynamic array of phone number using Callkit swift
I am working on an App where user can block the phone number. Initialy I have tried with static phone number array its working but when I try to block the number that I add to array from TextField it not bloacking in this case.
The Code I am using…
0
votes
0 answers
block contacts on phone using react-native application
How to block contacts from phone using react-native application, can't find any service or dependency in react-native.
is there any way or need native service to perform this activity?
anyone have performed this activity need help.

Joti Kumari
- 1
- 4
0
votes
2 answers
iOS / Swift: Is it possible to block some incoming calls with CallKit for a specific country?
I would like to block calls from specific countries that are upsetting me by calling eight times a day. I would like to create an app that allows to block any numbers with a specific extension (for example +33 France, +212 Maroc, +973 Bahrain,…

ΩlostA
- 2,501
- 5
- 27
- 63
0
votes
1 answer
Blocking a CALL or SMS in WP7
I am .NET developer and currently working on App to develop on Windows Phone 7. I am looking for something in Windows Phone 7 using which the user can block the calls or sms from a specific number.
Is there any way one can achieve the Call Blocking…

Bhavik Goyal
- 2,786
- 6
- 23
- 42
0
votes
1 answer
Android reject incoming call
In my android project(with target sdk version 23), I want reject incoming call.
I know that there are a lot of question about this, in particular
1 How to import com.android.internal.telephony.ITelephony to the Android application
2 How to Reject…

pask23
- 714
- 11
- 20