Is it possible to populate HTML form field data in an iPhone UIWebView using external accessory fram

Posted by Jon Smallberries on Stack Overflow See other posts from Stack Overflow or by Jon Smallberries
Published on 2010-04-06T17:58:00Z Indexed on 2010/04/07 1:13 UTC
Read the original article Hit count: 407

I have an iPhone app where I'd like to load a remotely served HTML form into a UIWebView and then populate that form as data becomes available from an external accessory using the "External Accessory Framework." Right now the data is entered by hand. The proposed flow is:

  1. Fetch an HTML page containing a form and put it into a UIWebView
  2. When data becomes available from the external accessory, populate the form field(s)
  3. Submit the form

Is it possible to do this by "injecting" data from the external accessory into the UIWebView when all required data has been retrieved from the external accessory? I cannot seem to find any good examples on how to use the external accessory framework to achieve this.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about externalinterface