pre y much create your entire basic app interface in HTML, without needing to write a single line of JavaScript. (Of course, you'll still need to write JavaScript if your app is to do anything useful!) What does jQuery Mobile do?
data-icon a ribute specifying a standard mobile icon to each anchor. By default, icons are added above the text (data-iconpos="top"). e following examples add icons to a navbar in a footer. Icons in navbars
a data-id a ribute to the footer of all HTML pages in the navigation set to the same ID. It's that simple: if the page you're navigating to has a header or footer with the same data-id, the toolbars will appear xed outside of the transition. Persistent Footer navigaKon bar
href="b.html">Albums</a></li> <li><a href="c.html">Emails</a></li> <li><a href="d.html" >Info</a></li> </ul> </div><!-- /navbar --> </div><!-- /footer --> To set the active state of an item in a persistent toolbar, add a class of ui-state-persist in addition to ui-btn-active to the corresponding anchor. <li><a href="d.html” class="ui-btn-active ui-state-persist">Info</a></ li> Persistent Footer navigaKon bar
no good offline story • The web cannot parDcipate in app store distribuDon revenue • The web cannot access most device APIs • The web has awful tooling Mobile Web is great but…
Compass ConnecKon Contacts Device InformaKon File GeolocaKon Media NoKficaKon Storage Out of the box, PhoneGap provides support for a number of basic device APIs
“naDve plugin” model that enables you to write your own naDve logic to access via JavaScript. There are lots of open source plugins at hLps://github.com/phonegap/ phonegap-‐plugins Learn more at hLp:// wiki.phonegap.com/w/page/36752779/ PhoneGap%20Plugins