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
you don't show any errors messages, so i'm guessing here, but you might want to start by looking at this. it looks like you're referencing folders you're not allowed to refer to directly anymore. lots of changes since 6.0.