All Questions

86
votes
5answers
79980 views

How to detect incoming calls, in an Android device?

I'm trying to make an app like, when a call comes to the phone I want to detect the number. Below is what I tried, but it's not detecting incoming calls. I want to run my MainActivity in background,...
66
votes
5answers
94168 views

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 n...
67
votes
10answers
48887 views

How can incoming calls be answered programmatically in Android 5.0 (Lollipop)?

As I am trying to create a custom screen for incoming calls I am trying to programatically answer an incoming call. I am using the following code but it is not working in Android 5.0. // Simulate a p...
48
votes
6answers
38958 views

Stopping & Starting music on incoming calls

I have implemented an Activity that plays media from a URL in android In order to add pause functionality when the incoming call is incoming I created a receiver that sets a a variable when the call ...
11
votes
5answers
25595 views

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 a...
6
votes
1answers
18616 views

How to reject incoming call programatically in android?

Possible Duplicate: How to block calls in android Can any one tell me how to reject incoming call programatically in android ?
9
votes
1answers
19197 views

Auto answer the incoming call programatically?

I have the code for getting the number of the incoming call to a android phone. But I want to automatically answer the call when the incoming call is from a particular number. I found this code on th...
3
votes
1answers
1524 views

How to detect a call Drop in android

I'm writing an app that runs on background during a telephone conversation and logs the coordinates to a file after the conversation has end,I know Android telephony API can detect a call manual disco...
7
votes
1answers
6358 views

How does a Android "OS" detect a incoming call

I'd like to know: how the android OS detect a incoming call(number) and displays the contact name and gives us a option to attend the call. What happens inside the OS when the "END CALL BUTTON" is t...
2
votes
2answers
510 views

How to change incoming call Vibration level when incoming call made?

Somehow tricky question. I am working with one app through which user can set incoming call custom ringtone and different vibration level for different contacts. I have stuck with vibration level set...

Previous Next