I don't think the Audio Flinger would allow you play a Media Stream when you are on a CALL. If you explore (Hack) the Audio Flinger + Telephony stack, you can make the song yourself.
Not Sure, whether the latter part is doable. On Fri, Aug 5, 2011 at 7:34 AM, Nick Risaro <nris...@gmail.com> wrote: > Why?? > > > On Wed, Aug 3, 2011 at 10:46 AM, Deepak Sharma > <deepaksimple...@gmail.com>wrote: > >> I want to make an app in which i have to play a background song while >> user is on a call with someone and this song should be heard to both >> user and the caller . >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en