But this code only places the default sencha image (the tea leaf) in the image field and doesn't prompt to pick or shot a picture. I tried many variants of Source and Destination parameters but result remains the same.
What should I do?

mitchellsimoens

26 Aug 2012, 5:53 AM

Is this on actual device?

sindoki

26 Aug 2012, 12:06 PM

Yes, it is.
Actually, I've worked it out. For some reason, Ext.browser.is.WebView returned FALSE on my Android device and everything was done on simulator. So I edited Camera.js a bit and everything worked fine, I got a picture.
But after that I edited my image capture code and got another problem: when I pick a picture or make a photo it isn't set into my image bar. As the image uri I get "User has canceled operation". Why does it happen? A don't know, which modification led to this mistake, I edit my code back and still have this message.
Here it is: