Thankyou, this is helping to set me in the right direction. With regard to the question of whether Android will provide PCM straight from the mic - when I said I wanted to exchange audio over Wi-Fi in real-time, I meant near real-time, so a delay of up to .5s would be OK. With regard to "the other end requires low-level hardware access" - the other end for me is a desktop application on a nearby Wi-Fi enabled Windows PC. So I guess I want to grab the audio data ASAP, enclose it in Wi-Fi packets aimed at my app, and send it out. Is this different from using RTP, or do they work together? I presume that Windows XP or Vista can receive and process this information. Do these added details change any of the tentative conclusions about whether this is possible?
On Sep 21, 12:30 pm, Glen Kimsey <[email protected]> wrote: > The standard way to do real-time audio over a network connection is > using RTP (real time protocol), which is what Voice Over IP is based > on. While there are almost certainly RTP libraries available in Java, > I'm not sure Android will let you get straight PCM data from the > microphone or send PCM data straight to the speaker/headphones. > > That's your main question, Kevin. In Linux you would do this using > ALSA. I'm pretty sure Android will let you wrap the PCM data (or > unwrap it) into RTP and send it along (if not you could fake it over > HTTP, but it'd be messy), but the other end requires low level > hardware access. > > Two sort of answer both of your questions, if you can get that close > to the hardware you'll most likely need "root" access which means it > wouldn't be a normal Android Market app. > > On Sep 21, 12:19 am, kevin j <[email protected]> wrote: > > > > > I'm interested in something similar. I would like to know if the > > following application is possible given the currently available tools > > and OS services. I want to send audio from the microphone in real-time > > over Wi-Fi to a Windows desktop application. I also want to send data > > which represents what screen icons have been tapped. I want to receive > > audio and data the same way - using Wi-Fi. > > > Sincerely, > > > Kevin J > > > On Jul 23, 8:47 am, Sean Hodges <[email protected]> wrote: > > > > Android supports bluetooth,Wifi(local networking) and USB. > > > > Which one you want will depend on your requirements. For easy > > > sychronisation of files between phone and PC, USB is probably a good > > > choice; assuming you don't require the connection to be wireless. > > > > Regards, > > > > Sean > > > > On Thu, Jul 23, 2009 at 2:37 PM, Michael Leung<[email protected]> > > > wrote: > > > > Hi all, > > > > I am new to Android. I am thinking to build an application for my > > > > personal > > > > use. It has a desktop version and I will build a simple Android client. > > > > Without using Internet, Is it possible from Android device to access a > > > > local > > > > pc? so I can do a sync with data between two versions? > > > > -- > > > > Regards, > > > > Michael Leung > > > >http://www.itblogs.info > > > >http://www.michaelleung.info-Hidequoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

