简体   繁体   中英

Detecting front facing camera and capturing image, android?

I want to capture image from the front facing camera. Is there a way to detect front facing camera? I searched a lot and the all the answers I found are quite old 2-3 yrs old.

Do I have to make a custom camera for it or is there any other way?

With the help of these links I was able to create my own front camera to take pictures

  1. Android using front facing camera to take a picture
  2. Access front camera
  3. Android developer camera

Here is the link to final project

Custom Front Camera

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM