How to take a photo using Camera in Sencha App?
I am trying to take a picture using camera in Sencha Touch 2. Here i have one button 'Take a Picture', when i will press it, camera should start. As i am new to this sencha touch 2, i am unable to figure it out, how to do this? For this i used the below code: Sencha Fiddle Link Please help me. I do not want to use Phone gap. You have to add device folder of Sencha Library in root directory and add below code in Ext.require('Ext.device.Camera'); and use this code for capture image using camera Ext.device.Camera.capture({ success: function(image) { imageView.setSrc(image); }, quality: 75, width: