开发者

How to save web page as desktop icon (bookmark?) on iphone/android?

Is it possible to prompt the user if they want to save a URL to their desktop (as a desktop shortcut icon) on开发者_C百科 the iphone or android? I've seen this in the google calendar on the iphone... a little prompt slides up from the bottom of the screen asking if you want to install the google calendar app, but I'm pretty sure it's just a google calendar desktop shortcut.


The best solution I've found for iDevices is the Mobile Bookmark Bubble found here: http://code.google.com/p/mobile-bookmark-bubble/

This is a small javascript library that adds a pop up bubble at the bottom of your iDevice screen and points to the '+' button.

I haven't found a good solution for Android since there are so many steps. If anybody finds one, please let me know.


Add:

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

to the HEAD element of your document.

For more info, check out this thread:

What size should apple-touch-icon.png be for iPad and iPhone 4?


This plugin might be a good solution:

http://cubiq.org/add-to-home-screen

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜