Brendan Murty

Home > Posts > High resolution web app icons

Web apps like UpcomingTasks are put to better use when they are added to home screens on devices. This allows the user to access them quickly and your web app earns it's place amongst the users' other apps.

There are a few things to remember when implementing this feature in your web app.

iOS and Android

To ensure that iOS doesn't apply the default shine to your icon, you'll need to use the correct tag in the head section of your page:

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

Android browsers also support this method, sweet!

Windows 8

For Windows 8/RT devices, you'll just need to include the following in the head section of your page:

<meta name="application-name" content="YourWebApp"/>
<meta name="msapplication-TileColor" content="#325ba0"/>
<meta name="msapplication-TileImage" content="/images/logo-144-clear.png"/>
<meta name="msapplication-starturl" content="/webapphome.php" />

Windows Phone

Unfortunately, Windows Phone requires a little more setup. You'll have to form up a unique page for Windows Phone users, a sample pin to start page is:

<!doctype html>
		<meta charset="utf-8">
		<meta name="robots" content="noindex,nofollow">
		<meta name="viewport" content="maximum-scale=1,minimum-scale=1,width=device-width">
			#instructions strong{color:#fff}
		<div id="icon">
				<img src="/images/logo-160.png" alt="YourWebApp" />
		<div id="instructions">
				Tap <strong>...</strong> and select <strong>pin to start</strong>
			var url = '';
			if(localStorage.getItem(url)) {
				localStorage.setItem(url, true);

This will produce a screen similar to the image below:

Add to home page

And after following the directions on the page, it's now on the user's home screen:

Home screen

Looks great!

I'd also recommend a guide to assist your users in adding the page to their home screen, as I've done for UpcomingTasks on the Add to Home page.


Sources and inspiration