using iphone resources in a web allpication

Discussion in 'iOS Programming' started by bpstylianos, Sep 6, 2008.

  1. bpstylianos macrumors newbie

    Joined:
    Aug 3, 2008
    #1
    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
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    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.
     
  3. keehun macrumors regular

    Joined:
    Mar 17, 2008
    #3
    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)...
     

Share This Page