Re:Building iPhone Apps with HTML, CSS, and JavaScript
by st3fan on Saturday October 03, 2009 @12:40PM
(#858906)
I was talking about taking an image from the camera, scaling it down and then uploading it as an PNG. How would you do this from within a webview?
Re:Building iPhone Apps with HTML, CSS, and JavaScript
by jeff18 on Saturday October 03, 2009 @01:46PM
(#858961)
Scaling, converting to a PNG, and uploading the resulting image is trivial in WebKit. As for accessing the camera hardware to take a picture, that requires an API from Apple, which I thought you implied existed. :)
The only things that aren't suitable for WebKit are things that require heavy CPU usage or access to iPhone features that Apple hasn't made available to WebKit yet, like OpenGL (incidentally, WebGL has recently landed in WebKit, so OpenGL access will no longer be a problem).