MotoMusher Active Member Licensed User Longtime User May 14, 2013 #1 Any ideas on how to troubleshoot camex.takepicture? It locks up on me every 5th picture or so, sometimes first time, just seems very random. I have been using ACL for a while with a number of users and no issues. I do want to get rid of ACL and move to this for the front camera. There is no error, nothing in debug log. Everything just stops. I am using the sample app with a few edits. Other than that, it is working fine. Code: Copy Sub btnTakePicture_Click Log("take picture start") camEx.TakePicture Log("take picture end") ' camEx.StopPreview End Sub
Any ideas on how to troubleshoot camex.takepicture? It locks up on me every 5th picture or so, sometimes first time, just seems very random. I have been using ACL for a while with a number of users and no issues. I do want to get rid of ACL and move to this for the front camera. There is no error, nothing in debug log. Everything just stops. I am using the sample app with a few edits. Other than that, it is working fine. Code: Copy Sub btnTakePicture_Click Log("take picture start") camEx.TakePicture Log("take picture end") ' camEx.StopPreview End Sub
Erel B4X founder Staff member Licensed User Longtime User May 14, 2013 #2 Check the unfiltered logs. There might be errors there. Try to comment out Sub Camera_Preview in CameraEx class. Upvote 0
Check the unfiltered logs. There might be errors there. Try to comment out Sub Camera_Preview in CameraEx class.
W wheretheidivides Active Member Licensed User Longtime User May 15, 2013 #3 This seems to be a common issue. I have had the same problem. I've had mixed results on this one. Upvote 0
D davidlub Member Licensed User Longtime User Jul 29, 2013 #4 Hi, I am getting the same problem on two different devices so I think it is not a system issue in the device but a problem in my app. It happens after three or four pictures and leaves the app in a strange corrupted state. I did not see anything untoward in the logs. I have tried the suggested fix to pause for 3 seconds while "TakePicture" runs but that made no difference. I also commented out Sub Camera_Preview in CameraEx and that made no difference either. Hope someone can help. Thanks David Upvote 0
Hi, I am getting the same problem on two different devices so I think it is not a system issue in the device but a problem in my app. It happens after three or four pictures and leaves the app in a strange corrupted state. I did not see anything untoward in the logs. I have tried the suggested fix to pause for 3 seconds while "TakePicture" runs but that made no difference. I also commented out Sub Camera_Preview in CameraEx and that made no difference either. Hope someone can help. Thanks David
Erel B4X founder Staff member Licensed User Longtime User Jul 30, 2013 #5 Please do not post duplicate questions. See my answer here: http://www.b4x.com/android/forum/threads/program-crashes-need-help.25547/#post-182739 Upvote 0
Please do not post duplicate questions. See my answer here: http://www.b4x.com/android/forum/threads/program-crashes-need-help.25547/#post-182739