4 ms·
WebKit 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 to
by cloudwalking 16y ago
WebKit 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.