Web Development Blog

by Ei Sabai Nyo

15 Mar, 2012

Developing an HTML5 iPhone app using jQuery mobile & PhoneGap – Part I    

Last week, we submitted an iPhone app to iTunes app store. This week, it was approved by Apple and the app is now available for download from the app store. Since everyone knows that HTML5 and app development is the future of mobile space, we’d like to share with you our experience of developing an HTML5 iPhone app using jQuery mobile & PhoneGap.

About the app
The app is called “Colour Match” and the purpose of the app is to allow users to pick any colour using a colour picker tool and display clothing & accessories that match the colour from Online Shopping USA database. Features of the app include a colour picker, a selection of most popular colours for easy browsing, favourites where users can save their favourite products and email, facebook and twitter sharing.

Technologies used
The technologies used for the app are:
- jQuery 1.7.1 + jQuery Mobile 1.0.1 (Javascript framework)
- PhoneGap 1.4.1
- HTML5 (template structure & Web SQL database storage)
- CSS3 (webkit animations and layout)
- PHP for web services (a few custom web services were written to obtain data from a mySQL database that resides on web server)

PhoneGap plugins used
We used the following PhoneGap plugins to provide native features that are not possible to implement using Javascript/HTML.
- Twitter
- ChildBrowser
- EmailComposer

Development timeline
It look us about a week to come up with the concept and fine-tune requirements before starting the actual development. The HTML5 + CSS development took less than a week as jQuery mobile made it pretty easy to have a working functional app within a few days. The design of the app took a few days. Most of the development time was spent on writing web services in PHP and writing a system that automatically scans images and picks the most appropriate colour. It took us half a day to set up Xcode, PhoneGap, provisional certificates etc (mind you, this wasn’t the first time we did this, but it still took us some time because we are not very familiar with a Mac computer). Then one full day was spent integrating and intalling PhoneGap plugins into the app, and finally submitting it to iTunes. All up, it took about 4 weeks from the start of the project to the day the app became available on iTunes app store.

Part II will cover more technical details such as the app structure, submission process to iTunes, installing certificates and troubleshooting XCode issues.

Sample PhoneGap Project

If you would like to get a sample PhoneGap project (uses jQuery mobile), you can download PhoneGap App using jQuery Mobile source code.

Love what you've just read? Subscribe to our newsletter to receive tips, resources and special offers related to web development & design.
Your name:   Your email:  

One Response to “Developing an HTML5 iPhone app using jQuery mobile & PhoneGap – Part I”

  1. jurjen says:

    Hello there i got a question about an other article. But can’t post a comment in that particular article. It’s a question about the jqeury mobile/php form, thanks in advance

Profile PicHello! Welcome to Web development blog! My name is Ei Sabai and on this blog, I write about web development, mobile app development, latest web technologies and the likes. Read more about me or have a look at some of the tips & resources I've written.
Subscribe to our newsletter to receive tips, resources and special offers related to web development & design.
We do NOT spam.
Your name:  
Your email:  

Tips & Resources

Tips & Resources
WordPress Web Hosting
Recommended web hosting providers for WordPress 3.0
iPhone Native App Development
Important steps into iPhone app development for beginners
iPhone Web App Development
Tips for iPhone web app development
Coupons for Web Developers
Get discounts on web hosting, domain names, templates, etc
10 Useful jQuery Snippets
Easy-to-use jQuery snippets for any website
HTML Email Newsletter
Step-by-step tutorial on how to code an HTML email newsletter
  • bluehost Hosting $6.95/month
  • Joomla Templates

Recommended Book

Categories