Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android | bookmark icons on homescreen

bookmark and add to my homescreen 60x60 icon does not apprear. Make

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

Size: 60x60 pixels. tried 8bit and 24bit ping! Does not work. Site is on a localhost and not 'online'.

on http://news.bbc.co.uk/sport if I bookmark and add to my homescreen it works! Why? They use: <link rel="apple-touch-icon" href="/sol/shared/img/iphone-sport.png"/>

Any help appreciated

like image 249
dccrowley Avatar asked Nov 18 '10 13:11

dccrowley


2 Answers

For Android to pick up the icon you need a precomposed icon

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

Also mentioned here Configuring Android Web Applications

like image 58
GeekYouUp Avatar answered Sep 20 '22 23:09

GeekYouUp


Add 57x57 png image without any effects like glossy, transparent. Code for the bookmark icon is:

<link rel="apple-touch-icon" href="http://devw3.com/devw3-icon/57x57.png" />

We can use the same code for iphone, ipod touch and ipad but the icon sizes will differ. You can find more about options sizes and how to configure for different devices here: Adding Bookmark Icon On Home Screen IPhone, IPad, IPod Touch And Android

like image 24
Hidayathullah Shaik Avatar answered Sep 17 '22 23:09

Hidayathullah Shaik