Camera crashing app randomly on iPhone device...HELP!!!
my specs:
Mac OS X 10.6.4, iOS 4, Mobile SDK 1.4
iPhone 3gs, with iOS 3.1.3
my app will randomly crash when opening up the camera on the device. sometimes it crashes when opening the camera, sometimes it crashes after taking the photo, sometimes it crashes after hitting 'retake' photo, sometimes it crashes when hitting 'use' after the photo has been taken.
it really is all over the place.
any and all help you guys can give me would be greatly appreciated. thank you!!
rocksteady,
danno~
16 Answers
-
bump!
-
bump!!
-
I've had similar issues also.
-
bump!!!
-
bump!!!
-
bump!!!
-
have you tried one of the latest builds? 1.4.1
http://builds.appcelerator.com.s3.amazonaws.com/index.htmli had issues with it not displaying picture properly with 1.4 on 3.1.3(worked fine on ios4),
that was fixed with later build, it is very slow but that's another problem for me to look at,
the other thing is to see what it crashes on using organizer in xcode i think, should get you the crash logs.one more thing, is there plenty of memory space on the iphone?
just ideas hope they are of some use
Rob
-
I have been experiencing the same, excruciatingly annoying bug. Anyone have a solution?
-
I'm seeing the same issue with 1.4.1.
There seems to be no pattern to it other than it the crash occurs after the camera has captured and the "editor" is showing. It's not consistent though. Sometimes it works just fine… sometimes it crashes.
-
Maybe it's a timing issue… I'm thinking I might add some delays in the app to see what happens because both the camera and gallery often break the app.
iPhone 3g - usually breaks;
iPhone 4 - seldom breaks;
simulator - always breaks unless editing is allowed on the image -
Any word yet? My camera app (iPhone 4.1) crashes when taking photos. Help!
-
+1. Please fix this!
EDIT: I updated my iPhone IOS 4.2 and the problem went away! Yay!
EDIT2: Nope, now it crashes again.. Retake button is not my friend.
-
Could this be a memory issue? When i restart my iPhone and launch my camera app again, it works like a charm! Every time! But after a while, same thing..
I've experienced similar problems when using the microphone.
-
Similar issue with iOS 4.2 and Titanium Mobile SDK 1.6.0
Does anyone got an idea/solution ?Thanks
-
I used this code and it crashes on device. Please help.
Titanium.Media.showCamera({
success:function(event) { Titanium.Media.hideCamera(); }, cancel:function() { }, error:function(error) { var a = Titanium.UI.createAlertDialog({title:'Camera'}); if (error.code == Titanium.Media.NO_CAMERA) { a.setMessage('Please run this test on device'); } else { a.setMessage('Unexpected error: ' + error.code); } a.show(); }, showControls:true, mediaTypes:Titanium.Media.MEDIA_TYPE_PHOTO, saveToPhotoGallery:false, allowEditing: true, allowImageEditing:true, autohide:false // tell the system not to auto-hide and we'll do it ourself });
-
Any word on this? We are experiencing the same issues. Crashes randomly on iPhone 4S. Seems to happen less when the phone is fresh booted and more frequently when a good number of apps are open. Anyone resolve this?