Hi guys, I am trying to select a picture from gallery and take a picture at android, but gallery crashes after select a picture and camera crashes after pressing the save button, both restart my app, I am tsting my app at two android devices, one have android 2.3, and the other one android 4.0, my app crashes in the android 2.3 device, at iOS everything works right. Here is my code:
self.addEventListener('open', function(e){ Titanium.Media.showCamera({ success:function(event) { imgPhoto.image = event.media; }, cancel:function() { self.close(); } }); });I am just trying to set at an ImageView the returned image from a camera Intent, does anybody have had a similar problem? I am using android sdk tools 22 and titanium sdk 3.1.2v20130619101604