开发者

Is it possible to create, package and successfully submit HTML5 apps to the app store? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 5 years ago.

Improve this question

Hello everyone and thanks for reading...

I'm a Mono / Web developer and was recently talking to an Apple guy regarding development on the iPhone and iPad. Now I know that Objective C / XCode is the heavy hitter for development on these platforms; however, I'm pretty sure he mentioned (and showed me) a HTML5 application he had created that while basic was mildly functional on his iPad.

Skip ahead a couple of week开发者_Python百科s and I've been asked to check out the feasibility of taking of chunks of a client's 'pay-per-view' website and creating a offline version that can be purchased via (and presumably distributed by ) the Apple app store. Anyhoo, I've been trying to find 100% confirmation that this is possible and I'm turning to dev boards to see whether I can get a definitive answer to the following...

Can I create a HTML5 application (essentially an offline portion of a client's website) for the iPhone / iPad that can be uploaded and distributed by the Apple app store?

And (assuming the above is OK) are there are restrictions or things I need to be aware of, i.e. it is fairly content rich but will include images and poss a few small videos.

Thanks

SC


Well the answer is yes and no ;-) You cannot distribute web apps via the app store. You have to set up your own infrastructure and server to do so. However what you can do is the following: write a very simple application consisting of a single browser window (called a WebView in Objective-C) and bundle all the HTML, CSS and JS files with it. Then you can use this browser to browse your local content. With a bit more efford you could also implement updating the content and recaching it on your phone over the web.

So the bottom line is: no pure web app can be distributed via the app store, a web app wrapped in an objective-C application can be done.


Dunno if this helps, but someone on Twiiter sent me this http://www.phonegap.com/

"PhoneGap is an open source development framework for building cross-platform mobile apps. Build apps in HTML and JavaScript and still take advantage of core features in iPhone/iTouch, iPad, Google Android, Palm, Symbian and Blackberry SDKs."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜