Greetings,
I would like to send the photo I capture using the CameraKit library to the photo gallery and / or to a specified folder on the user installed sd card. The captured photo is a bmp.
This is the coding from the sample that comes with the library:
I plan on adding the needed code to this sub routine.
I would like to send the photo I capture using the CameraKit library to the photo gallery and / or to a specified folder on the user installed sd card. The captured photo is a bmp.
This is the coding from the sample that comes with the library:
B4X:
Sub CameraKit_onImage(image() As Byte)
Log($"CameraKit_onImage(${image.Length} Bytes)"$)
Dim inpstr As InputStream
inpstr.InitializeFromBytesArray(image,0,image.Length)
Dim bmp As Bitmap
bmp.Initialize2(inpstr)
imgcapture.Bitmap = bmp
imgcapture.Visible = True
Sleep(1500)
imgcapture.Visible = False
End Sub
I plan on adding the needed code to this sub routine.