Closed itsmichaelwang closed 8 years ago
Okay I have solved this but in a really janky way. I have changed a line of code in the CameraFragment file (from getFrontCameraId to getRearCameraId) and I have rebuilt this as an .aar file.
You can add this by following steps 1-4 from the stackoverflow page below: http://stackoverflow.com/questions/29826717/how-to-import-a-aar-file-into-android-studio-1-1-0-and-use-it-in-my-code
Then do what it says here with the whole "compile project" thing in this stackoverflow page: http://stackoverflow.com/questions/24506648/adding-local-aar-files-to-gradle-build-using-flatdirs-is-not-working
Then there it is! Use it just like desmond said in the readme. Sorry that this is so janky but I don't know much about Android dev so this is the best I could do.
Is there a way to launch the activity with the front facing camera? I'm using it to help people take selfies quickly on an ID app and it would make things a bit quicker.