Web Apps on the iPhone & location awareness
I spent a few days last week on evaluating my options to get CabChap as an app in the Apple App Store. Right from the start I was betting on phonegap, a framework that basically offered to show a web page and exposed a few iPhone-API calls to the JavaScript of the page (Including latitude, longitude, contacts, vibration etc.).
But following a long discussion here, it seems to me that frameworks like phonegap do have a problem – Apple does not permit apps built with those into the app store. At least a huge majority of recently built apps didn’t make it into the store.
So I decided to pursue anothe route, at least for the IPhone (phonegap covers even Android and Blackberry).
Getting help from here it was easy and straight forward to build a native app, that exposes location information to my web app. Check it out, if you are focused on the iPhone and latitude&longitude this may be the way to go.