i am following this example
www.b4x.com
I put it in my app and when i push the button the camara app launch but immediately crashes.
Application_Start
*** mainpage: B4XPage_Created
*** mainpage: B4XPage_Appear [mainpage]
*** mainpage: B4XPage_Resize [mainpage]
Application_Active
*** camaraview: B4XPage_Created [mainpage]
*** mainpage: B4XPage_Disappear [mainpage, camaraview]
*** camaraview: B4XPage_Appear [mainpage, camaraview]
*** camaraview: B4XPage_Resize [mainpage, camaraview]
SignalHandler 6
*** camaraview: B4XPage_Disappear [mainpage, camaraview]
Error occurred on line: 250 (B4XPagesManager)
Signal - 6
Stack Trace: (
"0 B4i Example SignalHandler + 120",
"1 libsystem_platform.dylib 0x00000002194c6274 2E6C66FC-2EB9-34F9-995B-AE0B16E030C4 + 8820",
"2 libsystem_kernel.dylib 0x00000001f890ac14 5998C9AE-C77E-3681-BD6C-0883C89297CF + 203796",
"3 libsystem_kernel.dylib 0x00000001f890ac48 libsystem_kernel.dylib + 203848",
"4 TCC 6B363646-B98F-3E28-829F-29006B1028A4 + 27060",
"5 TCC 6B363646-B98F-3E28-829F-29006B1028A4 + 52312",
"6 TCC 6B363646-B98F-3E28-829F-29006B1028A4 + 16828",
"7 libxpc.dylib 7AFE0AEC-5B9F-3E5D-9803-12CA228AD324 + 122596",
"8 libxpc.dylib 7AFE0AEC-5B9F-3E5D-9803-12CA228AD324 + 69352",
"9 libdispatch.dylib B74732B5-D7FE-34A4-9346-41945701F020 + 16172"
)
Is there a way to help me find the issue ?
I have attached the project files zip.
The example code works fine by itself
Thanks for the help
Intent Based Camera
Newer example: [B4X] [B4XPages] Intent based camera This example uses an intent to take a picture with the default camera app. It is based on this tutorial: https://developer.android.com/training/camera/photobasics.html It is simple to use and doesn't require any permission (*). It does...
I put it in my app and when i push the button the camara app launch but immediately crashes.
Application_Start
*** mainpage: B4XPage_Created
*** mainpage: B4XPage_Appear [mainpage]
*** mainpage: B4XPage_Resize [mainpage]
Application_Active
*** camaraview: B4XPage_Created [mainpage]
*** mainpage: B4XPage_Disappear [mainpage, camaraview]
*** camaraview: B4XPage_Appear [mainpage, camaraview]
*** camaraview: B4XPage_Resize [mainpage, camaraview]
SignalHandler 6
*** camaraview: B4XPage_Disappear [mainpage, camaraview]
Error occurred on line: 250 (B4XPagesManager)
Signal - 6
Stack Trace: (
"0 B4i Example SignalHandler + 120",
"1 libsystem_platform.dylib 0x00000002194c6274 2E6C66FC-2EB9-34F9-995B-AE0B16E030C4 + 8820",
"2 libsystem_kernel.dylib 0x00000001f890ac14 5998C9AE-C77E-3681-BD6C-0883C89297CF + 203796",
"3 libsystem_kernel.dylib 0x00000001f890ac48 libsystem_kernel.dylib + 203848",
"4 TCC 6B363646-B98F-3E28-829F-29006B1028A4 + 27060",
"5 TCC 6B363646-B98F-3E28-829F-29006B1028A4 + 52312",
"6 TCC 6B363646-B98F-3E28-829F-29006B1028A4 + 16828",
"7 libxpc.dylib 7AFE0AEC-5B9F-3E5D-9803-12CA228AD324 + 122596",
"8 libxpc.dylib 7AFE0AEC-5B9F-3E5D-9803-12CA228AD324 + 69352",
"9 libdispatch.dylib B74732B5-D7FE-34A4-9346-41945701F020 + 16172"
)
Is there a way to help me find the issue ?
I have attached the project files zip.
The example code works fine by itself
Thanks for the help
Attachments
Last edited: