Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bpstylianos

macrumors newbie
Original poster
Aug 3, 2008
11
0
Hello all,

i'm workin on a web application (using Ajax) for iphone and i'm wondering if i could use iphone resouces for example iphone's microphone.
Be more specific is a way to use coreAudio framework or an API in order to use iphone's microphone in my web application?

thanks
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
As far as I am aware you have no access to anything you wouldn't normally have in a web page. As you cannot install code as a plugin to mobile Safari (or use Flash) there is no way to do this.

You could create a native iPhone application that contains a web view with your application in it. That might (although I'm certainly not making any promises) give you the access you want.
 

keehun

macrumors regular
Mar 17, 2008
110
0
That would require some really serious iPhone programming... You wouldn't have access to audio so you would have to set up a server where you broadcast audio data from the mic in to a media stream and you would have the webapp somehow use the audio source from that server that's running on the iPhone.. However, the show stopper is you can't really do anything with that stream without flash or java, etc (a browser plugin that would be common in desktop safari)...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.