RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.82k stars 405 forks source link

Disable confirmation after take photo #144

Closed maks-novikov closed 6 years ago

maks-novikov commented 6 years ago

hi , is there are way to disable "use photo" & "retake" option and immediately return the result?

dmitry-zaitsev commented 6 years ago

Sorry, but it is not clear what your question is. Could you please provide more details?

I will close the issue until new details are available.

maks-novikov commented 6 years ago

hi, i have other issue i cant start the preview, it shows nothing. i set the builder as in your tutorial

fotoapparat = Fotoapparat.with(this) .into(cameraView) .previewScaleType(ScaleType.CENTER_CROP) .lensPosition(LensPositionSelectors.back()) .previewSize(SizeSelectors.biggestSize()) .photoSize(SizeSelectors.biggestSize()) .build(); @Override protected void onStart() { super.onStart();

    fotoapparat.start();
}
dmitry-zaitsev commented 6 years ago

Make sure that you have the camera permission