Telephony / Android - phone call recognition

I want to make an application that will look at the moment of an incoming phone call into the database for the corresponding number.

So I wanted to ask if it is possible to receive some kind of interruption or event that informs my program in the background that there is an incoming phone call

I am looking for android and cordova solutions Thanks!

+3


source to share


1 answer


I have not yet seen any plugins that implement this feature. But implementing it on its own shouldn't be too complicated, as Java code is available on Gabe Sechan's wonderful answer .



There is also a PhoneCall Trap plugin that offers you a sketch for creating the plugin as it already catches up with the incoming call event.

+1


source







All Articles