HTML5 ?
.
Even Google was not rich enough to support all of
the different mobile platforms from Apple’s AppStore
to those of the BlackBerry, Windows Mobile, Android
and the many variations of the Nokia platform
- Vic Gundotra, Google Engineering VP
HTML5
OS or Browser Version Score ( ? / 160 )
IE ( Win ) 6.0 11
IE ( Win ) 8.0.7600 19
Opera Mini 1.0 33
iPhone ( Mobile Safari ) 2.0 37
Android 1.6 39
iPhone ( Mobile Safari ) 2.1 - 2.2 45
Maemo microB 5 PR-1.1.1 55
Firefox Mobile 1.0 101
Firefox ( Win ) 3.6.3 101
Palm WebOS 1.4 107
iPhone ( Mobile Safari ) 3.0 110
iPhone ( Mobile Safari ) 3.1 113
Safari ( Mac ) 4.0.5 113
iPad ( Mobile Safari ) 3.2 115
Android 2.0 - 2.1 118
Android 2.2 122
iPhone ( Mobile Safari ) 4.0 Beta 4 133
Safari ( Mac ) 5.0 138
Chrome ( Win , Mac ) 6.0.422.0 142
Mobile test result from http://www.callingallgeeks.org Tested with http://html5test.com
HTML5 Key Elements
for Mobile
• Offline Support : Web database , LocalStorage , App Cache
• Canvas
• Video
• GeoLocation
• Advanced Forms
• Workers
• Camera , Mic ( html-device )
iPhone Web App #0
• CSS
<link media="only screen and (max-device-width: 480px)" href="mobile.css" type=
"text/css" rel="stylesheet">
<link media="screen and (min-device-width: 481px)" href="standard.css" type="text/
css" rel="stylesheet">
• User Agent
Mozilla/5.0 (iPod; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko)
Version/3.0 Mobile/4A93 Safari/419.3
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko)
Version/3.0 Mobile/1A543 Safari/419.3
Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML,
like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10
javascript : if((navigator.userAgent.match(/iPhone/i)) { }
PHP : if (strpos($_SERVER['HTTP_USER_AGENT'],'iPad') !== false) { }