Building an iOS and Android HTML5 App with Cordova - Part 1

This is the first part in my tutorial series on Cordova (aka PhoneGap). I will be focusing on targeting Android and iOS, but I may extend this to Windows Phone in the near future. I'm not sure how long this tutorial will be, but it will be a long one, so please have patience with me while I write this in my spare time.

This part of the tutorial is going to cover how to organize the folder layout of the project, how to create the Android project, how to create the iOS project, and the various JavaScript libraries that will be used.

All of the code for this tutorial can be found on GitHub here: https://github.com/posco2k8/photo-mapper. I will be maintaining this single repository for the entire series. The code for this part will be in the TutorialPart1 tag.

Read More

Thoughts on HTML5 based mobile apps

Since the rise of mobile app development, people have been discussing HTML5 vs. native approaches. Apple initially wanted all apps to be web based, refusing to offer a native SDK. Eventually, they realized that wasn't going to be enough and offered their current Objective-C based solution. Google has offered its Java based native SDK since the beginning of Android, but they obviously have a lot to offer in the way of web SDKs.

My only exposure to mobile development has been using these native SDKs. I've read a lot about the HTML5 frameworks out there, but I've never had much of a chance to experiment with them because the clients I dealt with in the past often wanted native apps. I am currently working on some tutorials on how to get up and running with Cordova (formally known as PhoneGap) for both iOS and Android. There is a lot of material to cover on that topic, so I wanted to make an initial post to share some of my thoughts about the pros and cons of HTML5 mobile apps.

Read More