I am using the cameraEx library and it gives me error with the following code.
Can anyone help me understand the mistake?
thank
Error permission camera:
Private Sub InitializeCamera
Try
Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_CAMERA)
Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
If Result Then
' Log("inizializzo la camera")
camEx.Initialize(pnlDrawing, frontCamera, Me, "Camera1")
frontCamera = camEx.Front
Else
ToastMessageShow("No permission!!!", True)
End If
Catch
Log(LastException)
Global.CustomToastMessage("Errore apertura camera " & LastException, 2 * DateTime.TicksPerSecond)
End Try
End Sub
java.lang.Exception: Sub activity_permissionresult was not found.
Can anyone help me understand the mistake?
thank