SlashIT Member Licensed User Longtime User Oct 16, 2016 #1 hi, when I try to initialize the camera or LLCamera, the program crashes without any error in the logfile. I have the latest version of b4i and imedia 1.21. I also tried to compile the examples, but it happens the same, the program ends without any error, it happened to someone else? I can no longer access the camera ... i Use ios 10 / iphone 5s 3 days ago I updated Android SDK and the mac builder runs on Sierra. thank you
hi, when I try to initialize the camera or LLCamera, the program crashes without any error in the logfile. I have the latest version of b4i and imedia 1.21. I also tried to compile the examples, but it happens the same, the program ends without any error, it happened to someone else? I can no longer access the camera ... i Use ios 10 / iphone 5s 3 days ago I updated Android SDK and the mac builder runs on Sierra. thank you
Erel B4X founder Staff member Licensed User Longtime User Oct 17, 2016 #2 Add some log messages to see where exactly it crashes. As a test, change the package name and run it as a new app. Upvote 0
Add some log messages to see where exactly it crashes. As a test, change the package name and run it as a new app.
SlashIT Member Licensed User Longtime User Oct 17, 2016 #3 from your example LLCamera.b4i log file: Code: Application_Start certificates: all ok package name: ok program exit at Code: Sub InitializeCamera(front As Boolean) If llc.IsInitialized Then llc.StopPreview llc.Initialize(PreviewPanel, "llc", front) <<<<<<<<<<<<<<< fail llc.StartPreview currentPreset = llc.Preset ConfigureCamera End Sub Upvote 0
from your example LLCamera.b4i log file: Code: Application_Start certificates: all ok package name: ok program exit at Code: Sub InitializeCamera(front As Boolean) If llc.IsInitialized Then llc.StopPreview llc.Initialize(PreviewPanel, "llc", front) <<<<<<<<<<<<<<< fail llc.StartPreview currentPreset = llc.Preset ConfigureCamera End Sub
SlashIT Member Licensed User Longtime User Oct 17, 2016 #4 Solved. I found another post these references: Code: #PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo and attach to the task.</string> #PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>Select your photo and attach to the task.</string> and magically the iPhone asked me finally access to the camera and everything is back to work ... Upvote 0
Solved. I found another post these references: Code: #PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo and attach to the task.</string> #PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>Select your photo and attach to the task.</string> and magically the iPhone asked me finally access to the camera and everything is back to work ...