[android-developers] Re: Camera.takePicture()

2008-12-18 Thread 冰咖啡不加糖
I call Camera.takePicture(null,rawCallback,null); in onPictureTaken(data,camera) of rawCallback, data is null. I cann't get the raw data. but if I call Camera,takePicture(null,null,rawCallback), the data is not null, it contains picture pixels data. do u know why? On 10月22日, 下午10时19分, Hong wrot

[android-developers] Re: Camera.takePicture()

2008-10-22 Thread Hong
you need to call the Camera.takePicture(shutter, raw, jpeg) each arg implements the corresponding callback (shutter callback, picturecallback, picturecallback). so if you need to get the raw data, implement a class with picturecallback, and the onPictureTaken(byte[] raw...) will be available for