Is it possible to use camera in fragment like view, so that it wouldn\'t open another app and go away from my special app?
fragment
I want something
Native implementation is way better.
XML
Inside Activity/Fragment
Start camera
mCameraView.start();
Stop camera
mCameraView.stop();
Open source: Google
Requires API Level 9. The library uses Camera 1 API on API Level 9-20 and Camera2 on 21 and above.