Hasnain
Hasnain

Reputation: 272

Is it possible to intercept phone calls in an android application?

I am researching whether it is possible to receive an incoming mobile phone call and intercept the call within an application so that before we accept the call we can start to play some music in the background such that the caller listen to the music as well.

Upvotes: 3

Views: 4850

Answers (1)

Dev01
Dev01

Reputation: 4222

Of course you can ! You will have to create service that listens to incoming call intent and then do what you like.

See this tutorial for more information:

Upvotes: 4

Related Questions