Hello,
Im trying to use the Camera Object from iMedia Library. It worked for me before but I havent used it for a long time. Heres my code:
The Camera "Dialog" shows up and I can take a picture but if I click "use photo" in the dialog, the dialog disappears but the cam_Complete event is not triggered. I tried it in Debug & release to be sure.
I cannot imagine why this is happening... Maybe the original Apple API changed in an update or so?
Im trying to use the Camera Object from iMedia Library. It worked for me before but I havent used it for a long time. Heres my code:
B4X:
Sub btn_addpic_Click
Dim cam As Camera
cam.Initialize("cam",Page1)
cam.TakePicture
End Sub
Sub cam_Complete (Success As Boolean, Image As Bitmap, VideoPath As String)
Log("Photo taken:" & Success)
If Success = True Then
Images.Add(Image)
End If
End Sub
The Camera "Dialog" shows up and I can take a picture but if I click "use photo" in the dialog, the dialog disappears but the cam_Complete event is not triggered. I tried it in Debug & release to be sure.
I cannot imagine why this is happening... Maybe the original Apple API changed in an update or so?