• 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
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!