How to take a photo using Camera in Sencha App? -
i trying take picture using camera in sencha touch 2. here have 1 button 'take picture', when press it, camera should start. new sencha touch 2, unable figure out, how this? used below code:
please me. not want use phone gap.
you have add device folder of sencha library in root directory , add below code in
ext.require('ext.device.camera'); and use code capture image using camera
ext.device.camera.capture({ success: function(image) { imageview.setsrc(image); }, quality: 75, width: 200, height: 200, destination: 'data' });
Comments
Post a Comment