News for hackers. Stuff that matters.
Re:Ask HN: Mobile dev - Bypass apps and go straight to HTML5? by wahnfrieden on Sunday November 14, 2010 @09:44AM (#1903290)
From my tests on the iPhone, Mobile Safari-based web apps do not have responsive interfaces as compared to native ones. Safari adds a delay when you do things like tap link or button - I'm not sure why, it's probably to disambiguate tapping the link with some other action, since Safari can expect the user to be scrolling and zooming as well on top of any interface element.

Because of this, I find UI that mimics native apps in Safari to be a frustrating experience. Everything looks perfectly native, but all the behavior and touch feedback is slightly off.

Until Apple changes Safari or JQuery Mobile figures out how to get more responsive interaction out of it, I think this mimicking the native iPhone UI is missing the point - UI is about much more than visual theme. Stick to non-platform-specific web app design in the meantime (see Google's Mobile Safari-based apps, for instance).

Re:Ask HN: Mobile dev - Bypass apps and go straight to HTML5? by pornel on Sunday November 14, 2010 @11:44AM (#1903525)
Delay can be avoided by using touch events instead of emulated mouse events.
Re:Ask HN: Mobile dev - Bypass apps and go straight to HTML5? by wahnfrieden on Sunday November 14, 2010 @12:25PM (#1903612)
Ah nice: onTouchStart, onTouchEnd.
Re:Ask HN: Mobile dev - Bypass apps and go straight to HTML5? by hymanroth on Sunday November 14, 2010 @09:52AM (#1903300)
Very interesting. Thanks