View Full Version : using iphone resources in a web allpication
bpstylianos
Sep 6, 2008, 12:52 PM
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
Sep 6, 2008, 12:54 PM
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
Sep 6, 2008, 01:46 PM
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)...
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.