When I create a web clip for Google Talk on my iPhone, it doesn't behave like every other one does. For Gmail, it'll open Safari and display the browser chrome. For GTalk, it doesn't show the browser at all.
This is somewhat of a desirable effect if you have a webapp for the iPhone. Anyone know how this is done? |
Yes, with <meta name="apple-mobile-web-app-capable" content="yes">
See http://developer.apple.com/safari/library/documentation/appleapplications/reference/safarihtmlref/articles/metatags.html
Not sure why Google doesn't do this for all their web apps (or have it user-configurable). Maybe Android doesn't support the meta tag? |
Hey Jack, I wanted to know this too and I created a bookmarklet for the iPhone to make it happen. Just visit whatever site you want to add, execute the bookmarklet and then add it to the homescreen. All it does it adds that tag that Q mentioned to the HTML.
javascript:ai%3Ddocument.createElement('meta');ai.setAttribute('name','apple-mobile-web-app-capable');ai.setAttribute('content','yes');document.getElementsByTagName('head')[0].appendChild(ai);alert('Click the %2B icon to add your icon to the Home Screen.'); |