Hi all
I m using the camera ez to take photos with the native camera.
Ok, this works fine on some devices, but i have a problem with samsung devices.
https://www.b4x.com/android/forum/threads/ezcamera.22931/#content
The event _picturetaken dont work on some samsung devices.
The Creator of this lib @Roger Garstang leave the forum many time ago.
i have tested with native camera intent too and the result is null ever on some devices
the two codes are good and works fine and well on some devices.
but i really dont know why this dont work on some devices, the event _picturetaken dont is called or the intent return null
What the solution to this lib or this snipp code works fine on all devices?
I m using the camera ez to take photos with the native camera.
Ok, this works fine on some devices, but i have a problem with samsung devices.
https://www.b4x.com/android/forum/threads/ezcamera.22931/#content
The event _picturetaken dont work on some samsung devices.
The Creator of this lib @Roger Garstang leave the forum many time ago.
i have tested with native camera intent too and the result is null ever on some devices
B4X:
Sub OpenCam(Directory As String, PictureName As String)
Dim i As Intent
i.Initialize("android.media.action.IMAGE_CAPTURE", "")
i.PutExtra("output", ParseUri("file://" & File.Combine(Directory, PictureName)))
StartActivity(i)
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
the two codes are good and works fine and well on some devices.
but i really dont know why this dont work on some devices, the event _picturetaken dont is called or the intent return null
What the solution to this lib or this snipp code works fine on all devices?
Last edited: