Q&A on Mobile Apps – JWToups iOS AppSync Client Side data with Server Database
Titanium 1.8 & 2.1 , Javescript , iOS Sdk:iOS 5.0
Jwtoups Project’s basic functionality was to sync Client Side data with Server Database. In the iOS app:
- Form was hard-coded to capture user data input.
- A .net web service is used to capture and store the data in a SQLServer database. Web-service created returned whole xml of questionnaire and further this was parsed at application level to fetch categories and its options.
- The data is sent to the web service on a “form submit” and “sync” event.
Through this app user can fill the Inspection data and upload it to server. There are different forms which are hard coded and each form has different set of questionnaire with ability to answer and provide comment in form of text, image and audio files for each selected option. User after filling this questionnaire can also add their eSignature. Data entered by user is first saved in the device and further synced to the server when “sync” event is called. In case user tries to sync the data when there is no connectivity, then application keeps the log stored in the device and once it is connected through internet same is sent (back-end process)