아무래도 안드로이드 소스를 뜯어봐야될거같아요..
ㅠㅠ
이거 산으로 가는 느낌이랄까.
raw 저장 기능 추가하고
geo태깅 추가하고
촬영음 변경 추가하고 할려고 했더니..
쩝..
귀찮아지는..
public final void takePicture (Camera.ShutterCallback shutter, Camera.PictureCallback raw, Camera.PictureCallback jpeg)
Triggers an asynchronous image capture. The camera service will initiate a series of callbacks to the application as the image capture progresses. The shutter callback occurs after the image is captured. This can be used to trigger a sound to let the user know that image has been captured. The raw callback occurs when the raw image data is available (NOTE: the data may be null if the hardware does not have enough memory to make a copy). The jpeg callback occurs when the compressed image is available. If the application does not need a particular callback, a null can be passed instead of a callback method. This method will stop the preview. Applications should not call stopPreview()
before this. After jpeg callback is received, applications can call startPreview()
to restart the preview.
Parameters
shutter | callback after the image is captured, may be null |
---|---|
raw | callback with raw image data, may be null |
jpeg | callback with jpeg image data, may be null |