I have used built-in camera in Android 6.0 using intent.After upgrading android 10.0,these camera feature is not working.please check my below code and advise how to solve the problem.
Camera Opening using intent:
Sub OpenCam(Directory As String, PictureName As String)
Dim j As Intent
j.Initialize("android.media.action.IMAGE_CAPTURE", "")
j.PutExtra("output", ParseUri("file://" & File.Combine(Directory, PictureName)))
StartActivity(j)
End Sub
Sub ParseUri(FileName As String) As Object
Dim r As Reflector
Return r.RunStaticMethod("android.net.Uri", "parse", Array As Object(FileName), Array As String("java.lang.String"))
End Sub