Can i use a BroadcastReceiver or Service to retrieve an Incoming call
posted 6 years ago
I would like to fist detect an incoming call with all the info and then retrieve the audio at will
For instance, if the user received a call, i would like to obtain the phone number and a timestamp then i would get the audio and do some parsing in order to achieve a speech-to-text system.
I would like to accomplish that while the user is on the phone.
I need the service or BroadcastReceiver to be active while the user is on the phone and sends the audio back to the server...
I read somewhere that i should do this by creating a service in the backgound? is that possible to do? or BroadcastReceiver is the way to go ?
Are any of my suggested approaches would work for such project ?
I am still new to ANDROID so please provide as many details as possible.
Your Help is greatly appreciated.
Thank you, Christian Chabtini
Software Engineer, EMIDA