android / camera-samples

Multiple samples showing the best practices in camera APIs on Android.
Apache License 2.0
4.95k stars 2.32k forks source link

I want to switch cameras from another activity #559

Open sufyan5008 opened 11 months ago

sufyan5008 commented 11 months ago

hi there I want to switch cameras b/w front and back from settingsActivity. For example a user selects the camera to the front or back and then clicks save the record button should start recording to the selected camera. I want the exact same thing that it's currently doing by switching cameras with icon besides the capture icon but instead of the camera screen, I want in settingsActivity. can you please help me?