I have created a mobile version of my website using jquery mobile. My site requires alot of image upload facilities (pretty important for the site). I was wondering if there was a way to create an ios app from the jquery mobile site. Here is the idea:
- app is bascially a web browser
- app loads the mobile version of my site
- app replaces any ‘file’ fields found in the jquery mobile site with a usable photo browser/camera button.
This means that I won’t need to build a entirely seperate mobile app to work with my site and when I update the jquery mobile source, it automatically updates the source that the ios app accesses.
I’m open to any suggestions. I am wondering if maybe phonegap has a way of doing this.
Thanks!
This is possible, but won’t get approved into the app store since it depends on loading your mobile site, the solution would be to take your mobile site and build it in phonegap. You can load external images, but try not to do too much of that because it will again not be approved.
If you do wrap your mobile site files in phonegap you should be good to go, you can still access data online, but use ajax calls to get that information, and also be sure to have an option for users who don’t have an internet connection – Twitter and Facebook and apps like that come with the assumption that all content depends on a connection, but other apps that isn’t implied and can cause rejection unless you have error checking for connection.
Hope that helps!