Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Android and the fly likes Phonecall sound integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Android
Bookmark "Phonecall sound integration" Watch "Phonecall sound integration" New topic
Author

Phonecall sound integration

Johannes Thorén
Ranch Hand

Joined: Nov 18, 2008
Posts: 64
Is there some way to integrate sound to a phonecall?

Like playing a song in the background of a phonecall or something like it?

Kind regards,
Drace
Mohan Prasath
Ranch Hand

Joined: Jul 25, 2011
Posts: 38

Check me if I am right ?. You want to play a song when you receive a call. If so,
You have to set an intent like the following,

I have tried with much more attributes for the contentValues object. The above code is just a skeleton. Hope this would help you.

The following is only my opinion. I don't think android allows that access to developers to transmit sound during a call in addition to voice.


With regards,
Mohan Prasath
 
GeeCON Prague 2014
 
subject: Phonecall sound integration