News for hackers. Stuff that matters.
Re:Mobile development with HTML5 by johnbender on Friday August 26, 2011 @01:42AM (#2927521)
I'm curious what browsers you're supporting and experience you're aiming for with your hand rolled javascript.

Targeting phones outside of iOS and Android with anything but the most basic functionality is a difficult task without help. A prime example being the 500+ ms delay created when adding event listeners for click instead of touch events. Click covers everything but it creates a perceptibly slow ui for the user.

Re:Mobile development with HTML5 by dreamdu5t on Friday August 26, 2011 @02:29PM (#2929400)
Browsers supported are IE6+, IE Mobile, Opera Mini, Safari 3+, Chrome, Firefox 3+, blackberry browser, android browser, symbian's web browser, pretty much everything that renders the important parts of CSS1/2 and has JS support.

Pretty much an experience like http://m.twitter.com

The click delay workaround is like 15 lines of JS. It's one of the few issues (along with foreach) requiring a major workaround, if you design your HTML/CSS layouts properly. Also, don't forget you can take what you need from jQuery or other libraries. For example, the click delay workaround I think I grabbed from HTML5 mobile boilerplate, and my foreach function I grabbed from jQuery.