Your SlideShare is downloading. ×
0
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
HTML5 for Tablets and Mobile
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

HTML5 for Tablets and Mobile

8,125

Published on

The explosion of HTML5-ready tablets and mobile devices has been one of the primary forces behind HTML5’s rapid coming of age. Virtually all modern devices with a web browser have broad support for …

The explosion of HTML5-ready tablets and mobile devices has been one of the primary forces behind HTML5’s rapid coming of age. Virtually all modern devices with a web browser have broad support for the technologies defined by HTML5, like Video, Geolocation, Offline Apps, Local Storage, and CSS3 styling, making them the perfect target for aggressive HTML5 development. Targeting the look-and-feel, touch-based input, and varying screen sizes of devices can be tricky, though. This session will introduce you to the essential concepts for targeting HTML5 devices, such as Media Queries and Viewport sizing, and provide you with the tips and tricks you need to successfully develop modern web apps for tablets and mobile devices today.

Published in: Technology, Design
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
8,125
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
77
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • HTML5 for Tablets & Mobile DevicesThis session will introduce you to the essential concepts for targeting HTML5 devices, such as Media Queries and Viewport sizing, and provide you with the tips and tricks you need to successfully develop modern web apps for tablets and mobile devices today.The explosion of HTML5-ready tablets and mobile devices has been one of the primary forces behind HTML5’s rapid coming of age. Virtually all modern devices with a web browser have broad support for the technologies defined by HTML5, like Video, Geolocation, Offline Apps, Local Storage, and CSS3 styling, making them the perfect target for aggressive HTML5 development. Targeting the look-and-feel, touch-based input, and varying screen sizes of devices can be tricky, though. This session will introduce you to the essential concepts for targeting HTML5 devices, such as Media Queries and Viewport sizing, and provide you with the tips and tricks you need to successfully develop modern web apps for tablets and mobile devices today.
  • http://www.quirksmode.org/blog/archives/2011/06/mobile_browser_9.html20% in India, 11% in Indonesia. Compares to 6% in US and UK.Unfortunately, development countries largely on Opera Mini and Nokia
  • Q1 2011 PC sales slide for first time (down 3%): http://www.businessinsider.com/trouble-for-microsoft-pc-market-tanks-in-q1-2011-4Smart Phone Q1 2011 shipments: http://www.pdasnews.com/articles/idc-smartphone-shipment-figures-for-q1-2011.htmlThis is a trend now. First time SmartPhones out shipped PCs was Q42010. Stories from that time:http://www.chrisumiastowski.com/smartphone-market-bigger-than-pc-market-what-does-it-meanhttp://www.readwriteweb.com/archives/smartphones_outsell_pcs.php
  • Q1 2011 Worldwide DataiOS = 16.8%Android = 36%Symbian = 27.4%RIM = 12.9%MSFT = 3.6%Other = 3.3%Browser share stats (Q1 2011): http://www.quirksmode.org/blog/archives/2011/06/mobile_browser_9.html
  • Looks right.Feels right.Available anytime.“Installable.”In an app store?
  • When is a pixel not a pixel?Visual vs. Layout ViewPort
  • http://www.quirksmode.org/mobile/viewports2.htmlhttp://www.quirksmode.org/blog/archives/2010/04/a_pixel_is_not.htmlhttps://developer.mozilla.org/en/Mobile/Viewport_meta_tag
  • https://developer.mozilla.org/en/Mobile/Viewport_meta_tag#A_pixel_is_not_a_pixel
  • Density of pixel displays:http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density
  • http://www.webdesignerwall.com/tutorials/css3-media-queries/http://www.w3.org/TR/css3-mediaqueries/Code for targeting iPhone: http://perishablepress.com/press/2010/10/20/target-iphone-and-ipad-with-css3-media-queries/
  • http://matt.might.net/articles/how-to-native-iphone-ipad-apps-in-javascript/http://html5boilerplate.com/docs/#the-markuphttp://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html#//apple_ref/doc/uid/TP40008193Discussion of viewport and older mobile meta tags: http://davidbcalhoun.com/tag/handheldfriendly
  • Article on iPhone touch considerations: http://oreilly.com/iphone/excerpts/iphone-programming-user/touch-patterns.html
  • http://www.the-m-project.org/http://www.appcelerator.com/products/titanium-mobile-application-development/http://jquerymobile.com/http://jqtouch.com/http://www.sencha.com/products/touch/Good comparison:http://stackoverflow.com/questions/5063117/choosing-mobile-web-html5-framework
  • http://www.digitaltrends.com/mobile/smartphone-buyers-dont-care-about-4g-yet-study-shows/http://www.informationweek.com/news/mobility/3G/231000200Current generation of smartphone buyers not interest in paying premium for 4G or faster phones.
  • Motorola device images: http://mediacenter.motorola.com/imagelibrary/default.aspx?SubjectID=195LG images: http://www.lgnewsroom.com/ces2011/list.php?product_type=1HP Palm:http://www.hpwebos.com/us/company/media-library/media-library.html?checkbox-accept=acceptRIM/Blackberry:http://www.rim.com/newsroom/mediagallery/Apple: http://www.apple.com/pr/products/
  • Transcript

    • 1.
    • 2. @toddanglin<br />
    • 3. 31% of all Internet use in Nigeria is mobile<br />
    • 4. The Internet is Mobile<br />
    • 5. 100m<br />81m<br />
    • 6. Which devices matter?<br />
    • 7. iOS<br />Android<br />Symbian<br />RIM<br />MSFT<br />…<br />KR<br />WEBKIT<br />98%<br />USA<br />69%<br />UK<br />58%<br />CN<br />32%<br />
    • 8. HTML5 standard maximizes reusability<br />
    • 9. considerations<br />Native-ness<br />Screen Size<br />Interaction<br />Look-and-feel<br />Bandwidth<br />
    • 10. What is a “native” app?<br />
    • 11.
    • 12. When is a pixel not a pixel?<br />
    • 13. 320px<br />980px<br />
    • 14. CSS pixelsvs.Physical Pixels<br />
    • 15. “If the pixel density of the output device is very different from that of a typical computer display, the user agent should rescale pixel values.”<br />- CSS 2.1<br />
    • 16. ViewPort<br />Configurable<br /><meta name="viewport" content="width=device-width, initial-scale=1.0"><br />Optional: user-scalable=no<br /> target-densitydpi=device-dpi (Android Only)<br />
    • 17. media queries<br />Target styles to specific devices…<br />And features!<br />/*These two rules do the same thing*/<br />@media all and (min-width:500px) { … } <br />@media (min-width:500px) { … }<br />/*Multiple conditions*/<br />@media only screen and (min-width: 600px) and (max-width: 900px) {<br /> .class {<br /> background: #333;<br /> }<br />}<br />
    • 18. <meta><br />Rendering hints for mobile browsers<br /><meta name="viewport" content="width=device-width, initial-scale=1.0"><br />Optional: user-scalable=no<br />target-densitydpi=device-dpi (Android Only)<br /><!--iOS specific--><br /><meta name="apple-mobile-web-app-capable" content="yes"><br /><meta name="apple-mobile-web-app-status-bar-style" content="black" /><br /><link rel="apple-touch-icon" href="./apple-touch-icon.png" /><br />
    • 19. It’s a Touch,Not a Click. Right?<br />
    • 20. Touch<br />Events<br />touchstart<br />touchmove<br />touchend<br />touchcancel<br />gesturestart*<br />gesturechange*<br />gestureend*<br />
    • 21. touch<br />Accuracy<br />Size<br />Shape<br />Placement<br />Overlapping<br />
    • 22. frameworks<br />
    • 23. Mobile Internet is unpredictable.<br />
    • 24. bandwidth<br />Optimize design<br />Clicks/Screens<br />Graphics<br />Selectively load resources<br />
    • 25. Future<br />“Windows 8”<br />Chrome OS<br />Facebook<br />
    • 26. @htmlui<br />
    • 27. Resources<br />

    ×