Chapter 4
Using PhoneGap with jQuery Mobile
While PhoneGap provides a platform to allow JavaScript apps to access native phone features, there are many other things that contribute to a mobile HTML app.
One of the most important parts of the mobile HTML application is the UI. You could write the entire UI by hand using HTML, JavaScript, and CSS. However, any web developer will tell you that there are many issues with this approach, including the following:
- Not all browsers are same; you need a cross-browser framework to be successful. Even if most mobile browser are webkit based, its best to use a framework that abstracts the browser differences from a developer.
- If you were coding by hand, most of your code would be of drawing the UI, modifying ...
Get Beginning PhoneGap: Mobile Web Framework for JavaScript and HTML5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.