4 ms·
Since the book talks about accessing the geolocation facilities of the phone via JavaScript then that should clue you in to that as a kind of lower limit to the
by hsmyers 16y ago
Since the book talks about accessing the geolocation facilities of the phone via JavaScript then that should clue you in to that as a kind of lower limit to the limitations. God that's garbled--- I think I mean to say if you can mess with GPS using just JavaScript then you shouldn't have much in the way of limitations. Can't be as good as objective-c and IOS, but this should be for lighter apps anyway.
- cloudwalking 16y agoWebKit has hooks for location services - any website can ask for access to the iPhone's location. It's things like accelerometers, gyros, and camera that are tougher. It's also next to impossible to make a native feeling application. Scrolling, transitions, animations are all less fluid.
- Encosia 16y agoCSS3 transitions are virtually indistinguishable from native animations and transitions, when applicable (i.e. CSS3 obviously can't be used for some things, but is a 1:1 replacement for things like page transitions).
- pixelcort 16y agoiOS 4.2 exposes accelerometer and gyroscope data to web apps now. http://news.ycombinator.net/item?id=1932107 http://news.ycombinator.net/item?id=1932107 As for scrolling, a number of JS libraries/frameworks such as SproutCore now implement fake scrollviews using touch events and CSS transforms, transitions and animations. For example: http://touch.sproutcore.com/ http://touch.sproutcore.com/ As for the cameras, IIRC the Chrome team is proposing APIs for camera access to HTML5.