After give the camera permission in DemoCamActivity ,when user click on button to capture the image,It's not working in first time after relaunch the activity its working fine but i want camera work first time when user give the permission. please give me solution thank you
After give the camera permission in DemoCamActivity ,when user click on button to capture the image,It's not working in first time after relaunch the activity its working fine but i want camera work first time when user give the permission. please give me solution thank you