Back to project page FxCameraApp.
The source code is released under:
MIT License
If you think the Android project FxCameraApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.af.experiments.FxCameraApp.camera; /*from w ww . j ava 2s . c o m*/ import android.content.Context; import android.hardware.Camera; public class CameraHelperCupcake extends CameraHelperBase { public CameraHelperCupcake(final Context context) { super(context); } @Override public void setPreviewCallback(final Camera.PreviewCallback cb) { getCamera().setOneShotPreviewCallback(cb); } @Override public void onPreviewFrame(final Camera.PreviewCallback cb) { getCamera().setOneShotPreviewCallback(cb); } }