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