• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Can i use a BroadcastReceiver or Service to retrieve an Incoming call  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 132
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BroadcastReceiver is the one to use - since it is a listener for Intent calls that might happen in your device
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!