iOS Question Camara intent Crashing right after camara opens.

grant1842

Active Member
Licensed User
Longtime User
i am following this example

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

  • Project.zip
    107.5 KB · Views: 133
Last edited:

grant1842

Active Member
Licensed User
Longtime User
Thanks for your reply Erel .
I looked and the page and noticed

Don't miss:
- Manifest code in B4A.
- #PListExtra in main module in B4i.

So there was some things i had to get right from there.
ITs works now .
 
Upvote 0
Top