It's not a secret anymore!
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Phonecall sound integration" Watch "Phonecall sound integration" New topic

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,
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
wood burning stoves
subject: Phonecall sound integration
It's not a secret anymore!