PDA

View Full Version : Camera Support



smj
26 Jul 2011, 2:18 AM
Hello All,

I am developing an application where I need to upload user image user can take new photo or can upload from existing one. Can this be done in sencha. As I searched but I don't think sencha gives support for taking new picture.
I also tried for phonegap but for using it I need to compile application in ios or android (Create build every time)

Is their any other way to do this. Please help me.

Thank You.

Hanni Sullivan
26 Jul 2011, 2:27 AM
Nope. A web application can not access native features unless the "browser" provides an API for them like the PhoneGap WebView or the BlackBerry WebWorks does.

fx-mike
27 Jul 2011, 1:30 AM
Have a look at this:
http://www.w3.org/TR/html-media-capture/
But this has only been implemented in Android > 3.0 as far as I know (but this info could be out of date by now).
The only other way to go would be phonegap (or similar frameworks).