Building iPhone Android Apps with jQuery Mobile and PhoneGap Slides
By Pete Freitag
I gave a presentation to my local ColdFusion users group in December on Building Mobile Apps for iOS (iPhone, iPod, iPad) and Android devices using jQuery Mobile, and PhoneGap. The presentation focused more on jQueryMobile than PhoneGap, since phonegap is pretty straight forward once you have setup an example project. You can find the jQueryMobile PhoneGap Slides here and the code samples.
jQuery Mobile
I've been working with jQuery Mobile fairly regularly since the day Alpha 1 came out a few months ago. It's a very easy to get started with jQuery Mobile, if you know HTML (or HTML5) you are halfway there. That' right even though much of jQueryMobile is written in javascript, you don't actually need to know any jQuery or even JavaScript to do some basic things with it. But if you do know javascript and you do know jQuery you will love it even more. I'm often keeping tabs on the jQuery mobile git repository, I'm hopeful that another release will be out soon, they had stated that the 1.0 release will be out in January, but I am doubtful of that since it is still in Alpha, and we haven't seen a beta. Some of the promised features such as date picker aren't really there yet (though there is some work being done in the latest from git).
PhoneGap
I've been working with PhoneGap even longer that I have with jQuery Mobile. If your not familiar with PhoneGap, it provides a set of project templates and a common javascript API for building native mobile applications. It supports iOS, Android, Blackberry, Symbian, and Palm. The JavaScript API allows you to interact with the native API's for things such as contact management, camera, GPS, accelerometer, etc.
Overall PhoneGap and jQuery Mobile make a great combo for any web developer looking to get into mobile application development.
Here's an iPhone App I built for one of my clients using PhoneGap and jQuery Mobile to allow members of their site Golf Score Keeper to track their golf scores and stats on their Phone. Android version will be coming soon.
I'm also using jQuery Mobile with PhoneGap to build a mileage tracking & reimbursement app.
Building iPhone Android Apps with jQuery Mobile and PhoneGap Slides was first published on January 12, 2011.
If you like reading about iphone, ios, jquery, jquerymobile, android, phonegap, or mobile then you might also like:
- Getting Started with jQuery Mobile
- Blackberry WebWorks AJAX Problems
- Howto Distribute an iPhone App for Testing
- HTML5 Input Type Keyboards on iPhone & Android Devices
Discuss / Follow me on Twitter ↯
Tweet Follow @pfreitagComments
Thanks
See http://wiki.phonegap.com/w/page/34483744/PhoneGap-Eclipse-PlugIn-for-Android for a simpler Phonegap Android Eclipse experience.
It also includes templates for jQuery Mobile and Sencha Touch projects.
Peter
blog:www.thegpstrackingblog.com