Search code examples
androidjqueryioshtmlhybrid

offline HTML5 or native SDK for cross-platform app development or JQUERY mobile


I am planning to build an app for selecting things from a menu and manipulating with it. I was earlier thinking of learning java and build on android, but then I came across HTML5 and JQuery mobile.

Can anybody guide me what should I start learning? I am planning to build a simple app. I just want a good GUI and want to write once. That's why I thought I'll work on HTML5 and then store it locally and open it in webview component of different platforms. So I will write once and use it on all platforms.

Am I going in the right direction?
Also tell me the difference between HTML5, JQuery and Phonegap


Solution

  • Html5 is the raw information. Jquery (a part of Javascript) codes the interactive elements. CSS is the design. Keep them all separate, web standards etc.

    These technologies work for web-browsers, but non web-browsers cant read this code, like app stores etc. Phonegap packages this code so can be read on other platforms. So rather than redoing the code many times - write once publish everywhere, or somethign like that. It can be seen in this picture:http://phonegap.com/uploads/artwork/Build-Diagram-3.png