Thanks for the reply guys.
Quote: "If you can somehow get the camera view screen to run in your app then maybe the GetImage() command might work."
That was my wish, but
isCapturingImage() or
ShowImageCaptureScreen() don't return a image id.
I was working on a little piece of code, but the code of baxslash is way better optimized.
Thanks to take time for me.
if GetCameraExists()=1
CameraReturn = ShowImageCaptureScreen( )
//message("IMG: "+str(CameraReturn))
sync()
repeat
busy=IsCapturingImage( )
until (busy=0)
sync()
//playsound(1)
image = GetCapturedImage( )
if GetSpriteExists(100)=0
CreateSprite(100,image)
SetSpritePosition(100,100,100)
SetSpriteScaleByOffset( 100, 0.2, 0.2 )
img_height = getspriteheight(100)
img_width = getspritewidth(100)
GetImage( 110, 0, 0, img_width, img_height )
endif
IDref_QR$ = DecodeQRCode( 110 )
sync()
message(IDref_QR$)
Last question, there is a way to delete a image saved on the device ?