title: Making dynamic forms (the best approach)
body: <p>I have to develop an application for an Android Tablet. This will do the following:</p>
  
  <p>I will connect to a web service to retrieve a dynamic list of forms. Those forms must be downloaded to fill them offline. When one or more forms are filled, and application is online, user can send them to a server clicked on a button.</p>
  
  <p>Those forms will be dynamic. There isn't a predefined form. And they will have one or more pictures attached.</p>
  
  <p>My problem is that I don't know how to do it.</p>
  
  <p>I've thought:</p>
  
  <ol>
  <li><p>I could send a form as set of fields and their types. Once I download xml from web service, I will have to rebuild it to show it to user.</p></li>
  <li><p>Send an html page with a form.</p></li>
  <li><p>HTML5 (with PhoneGap).</p></li>
  <li><p>...?</p></li>
  </ol>
  
  <p>I think second option is the best. What do you think?</p>
  
  <p>Once user has filled a form, how can I save its data? If I'm using a web page, I think I can save it as CSV.</p>
  
  <p>First option will be an android native interface, so I could save it on SQLite or as txt file. How can I store those forms filled?</p>
  
  <p>And then, when user comes back online, how can I send a txt file and image through a web service? </p>
  
  <p>If you have another approach, you are welcome to share it.</p>