Discussion in 'Mobile Web Development' started by jmwerkus, Nov 1, 2009.
IDK how to do it with a local file, but if the end-user has internet access, you can embed it with a UIWebView.
i mean like a web app i have on my device, could i make it native?
Get the source code and code a native app, i.e. using the frameworks provided to make the app use these classes instead of the web stuff.
Making a web app a native app makes no sense as long as you won't use the cool features that come with using the "native way". I don't see any use of a webapp that just runs by tapping on an icon on my homescreen but then just uses the web stuff.
ya but i hate that it opens a new safari window
If it's just that you shouldn't be that bothered...
Just Load your .html files into an XCODE package and made an app with a single UIWebView that loads your HTML.
I don’t know how involved your web app is but I’m assuming
You want this to work when your not connected to the Internet.
If its just .html, and .js you can webarchive the files and move them over to your
ITouch/iPhone w/ fileaide.
If you need to trap some of your js, dom events you can open your webpage
In UIWebView and trap the events and act like a little cgi server.
If your app is very web intensive w/ cgi etc. I Think I read somewhere that you can install a little http server on the iTouch,
and probably a pl, php interpreter and do everything offline.
what is the website. I am willing to do it for you, if you would like.
no i dont have one yet, i was just wondering cuz i am thinking about making one
Separate names with a comma.