I made this function from the picturefromcamera example
function takephoto()
// get camera image
if GetCameraExists()=1
if ShowImageCaptureScreen()=1
while IsCapturingImage()=1
Sync()
endwhile
image=GetCapturedImage()
endif
endif
// show image here
if GetSpriteExists(1)=0
CreateSprite(1,image)
SetSpriteposition(1,10,10)
SetSpriteSize(1,80,-1)
endif
endfunction image
and I notice that my android devices, Motorola Atrix HD (4.1.1) and Nexus 7(4.2), return a 0 for GetCapturedImage() after they take a picture.
EDIT: It works perfectly on my PC
player is v1076 and matching agk
what am I missing?