简体   繁体   中英

HTML5 Webapp as regular icon or app on iPhone and Android.

Sorry if this is a noob question, I searched quite a bit and couldn't find an answer.

I'm developing a html5 app that relies on sqlite for local storage.

I'd like for it to appear as an app icon on the iPhone/Android screen, what's the best way to do this? Ie can I write some sort of "wrapper" app to achieve it?

Thanks!

No need for PhoneGap or a launcher on the iPhone.

Per Apple:

<link rel="apple-touch-icon" href="/custom_icon.png"/>

Documentation and more fun options you can add to your web app: https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html

PhoneGap is an open source wrapper for local web apps that runs on several mobile platforms. There is no reason you could not use it with hosted web pages as well.

Apple would probably reject something they deemed equivalent to a web bookmark.

我认为您必须开发一个“启动器”应用程序,它只会调用浏览器并将用户发送到您的Web应用程序。

我认为在Android中你必须开发一个包装器应用程序来显示你的webapp的webview。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM