Android front camera app
So my friend has a Samsung Galaxy SII, unfortunately the back camera isn’t working anymore, the front one is working and he was able to test it using a built in testing utility that only shows a preview with no photo taking functionality.
The problem with most (all maybe?) camera apps is that they first check the back camera and then crash since the camera isn’t working!. Using an old camera project of mine I removed most of the features (flash, focus, geo tagging, saving images to database with encryption) and changed the app to use the front camera using Camera.Open(1), so now he can use the front camera :).
The reason I’m posting this is that the app might help if someone has a similar problem.
I found some apps that only use the front camera but some of them were laggy and I already had my own app half ready :D.
Here’s the apk with the source code, Android API10+ (Android 2.3.3+):
FrontCam Source.apk (515 KB) , eclipse project
Opinions are welcome :).
great 🙂 thanks
You’re welcome 😀
useful code