I need to explore the world “You wrote a killer application, but do you have an Android/iPhone/iPad client?”.
My questions are:
1) which is the best way to send data to those devices? Soap and Rest as suggested here? Or are there some specific techniques? (My app is written in Delphi and I can expose data with webservices if needed)
2) For x-platform (where by x I mean basically apple prodcuts and android) developement is there a tool? Or the only solution is write one client per platform that “embeds” a web application optimized for mobile devices?
3) which are the techinques for caching locally some data / working offline? Is it different in the 2 worlds or is it common?
Sencha Touch 1.0 has been released this week and is free for commercial use now. Sencha Touch 1.0 is compatible with Apple iOS and Google Android.
localStorage is a new HTML5 feature which allows to store data on the client. However, it differs from cookies in some key ways. See http://en.wikipedia.org/wiki/Web_Storage
Sencha is the company behind Ext JS, the Javascript library which is also available over a Delphi wrapper/binding called extpascal, so it is possible that Sencha is based on Ext JS technology, and writing a Delphi client web app could be a logical integration path.