Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
  • Carey Brown
  • salvin francis
  • Claude Moore

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

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
Villains always have antidotes. They're funny that way. Here's an antidote disquised as a tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!