menu

CameraKit

One of the hardest Android APIs made into a high level and easy to use library that solves all of your problems.

Channels
Team

Switch between back and front cameras

January 31, 2019 at 5:33pm

Switch between back and front cameras

January 31, 2019 at 5:33pm (Edited 5 months ago)

Hello i'm new in android development and i try to create na app to take pictures also i need to change from back camera to front camera but i dont know how to do this because the library is very powerfull but dont have much material about to change between câmeras. If anyone could help me I would appreciate it very much.


February 6, 2019 at 9:41pm

Hey Mahteus, glad you're learning Android development! It can be challenging at first but the more projects you work on the easier it will become.

Check out our CameraKit documentation for switching between front and back camera. The method is setFacing, https://camerakit.io/docs#setfacing

like-fill
1
  • reply
  • like

thanks a lot i already found a way to use the library my code was typed the wrong way so it did not work

  • reply
  • like

in fact i find a better way to use the library for my app

  • reply
  • like