I have this code in a wrapper but the PreviewCallback does not get fired:
I do have
import android.hardware.Camera.PreviewCallback;
in the wrapper. No compiling error - it just won't fire.
Some pointers will be much appreciated.
B4X:
PreviewCallback mPreviewCallback = new PreviewCallback() {
@Override
public void onPreviewFrame(byte[] data, Camera camera) {
BA.Log("In onPreviewFrame");
processImage(data);
}
};
I do have
import android.hardware.Camera.PreviewCallback;
in the wrapper. No compiling error - it just won't fire.
Some pointers will be much appreciated.