boxme / SquareCamera

Android Camera Library For Square Photo Taking
MIT License
569 stars 189 forks source link

allow setting the camera-facing attribute before starting the activity #51

Open David-Development opened 8 years ago

David-Development commented 8 years ago

This is useful for use-cases where you always need to use the front camera. While creating the intent set the key: CameraFragment.CAMERA_ID_KEY to Camera.CameraInfo.CAMERA_FACING_FRONT or CAMERA_FACING_BACK respectively. It's up to you to make sure, that the front camera is available if you force using it!