You can't do this on the G1 class hardware. This audio routing is handled by the baseband, which is a separate CPU running the radio and other related things.
On Thu, Aug 20, 2009 at 8:39 AM, tcp <[email protected]> wrote: > > jsdf - > > Did you find an answer to this question somewhere? > > It is related to one of my own which is, can I write my own phone app? > > It would seem odd if there was no _possible_ programmatic interface to > the audio streams (which would also preclude what I'm trying to do) > because, even if the audio codecs are on the CPU (which I believe is > the case in G1/ADP-land) somehow those data need to get to/from > speakers/mics which are programmatically accessible. > > I'm poking around in com.android.internal.telephony for my stuff and > will be trying some tests in the coming week or so. I'll post > anything of interest here. > > All comments are welcome. > > Thanks, > - tcp > > > On Aug 8, 7:45 am, jsdf <[email protected]> wrote: > > Marco, > > Just to clarify, > > The sticking points could be: > > 1.) hardware design doesn't support it > > 2.) framework software that integrates Android onto specific phones > > doesn't allow it > > 3.) Android doesn't support it > > > > I definitely see #3 as true. Does your comment below indicate #1, #2, > > or both #1 and #2 are true? > > Thanks for the help, > > jsdf > > > > On Aug 7, 1:24 pm, Marco Nelissen <[email protected]> wrote: > > > > > The hardware doesn't support it. The closest you can get is by playing > > > it over the speaker at full volume, so the microphone will pick it up. > > > > > On Fri, Aug 7, 2009 at 9:26 AM,jsdf<[email protected]> wrote: > > > > > > Hi everyone, > > > > > > Is it possible to playaudioover an activephonecall, so the other > > > > end can hear it? > > > > > > For example: > > > > A and B are talking on thephone. > > > > A presses a button that pullsaudiofrom a resource and plays it over > > > > thephonecallto B. > > > > > > If so, what libraries should I look into? > > > > > > If not, is this something that could become accessible on rooted > > > > phones? (Of course, only other rooted phones would be able to use the > > > > application then...) > > > > > > Thanks, > > > >jsdf > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

