News for hackers. Stuff that matters.
Re:Building iPhone Apps with HTML, CSS, and JavaScript by mcantelon on Friday October 02, 2009 @06:20PM (#858160)
It says "Hook into advanced iPhone features (e.g. accelerometer, geolocation, vibration, and sound) with JavaScript".

You can do that via Javascript running through an app (Phonegap is great for this), but can't do that via a web app.

Re:Building iPhone Apps with HTML, CSS, and JavaScript by cesare on Friday October 02, 2009 @07:00PM (#858210)
Have you read at least the titles of the chapters of the book?

Or the official Apple documentation (http://developer.apple.com/safari/)?

http://developer.apple.com/safari/library/samplecode/iPhoneO...

http://developer.apple.com/safari/library/documentation/Appl...

Edit: where in the book did you see how to use geolocation, vibration or any other feature which is not available with a web app developed for mobilesafari?