开发者

takePicture callback data is null

Is the Camera.takePicture callback for raw data null when running in emulator environment? I got the CameraSurface method out of the WWW, so开发者_C百科 it should be correct.


Before calling takePicture you have to provide a buffer large enough to hold the raw image data. (detailed here). For setting the buffer, use the addCallbackBuffer method.


This issue seems to be related to the raw-data callback only. Using the picture callback which retrieves a jpeg solves the issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜