I am following the sample available at: http://developer.android.com/guide/topics/media/camera.html
for developing an camera application.
This app shows a camera preview and a button and when user clicks on the button picture is taken and saved and camera preview is shown again.
But I want to switch to the front camera now. Any idea on how to do this? It is possible to start with either front or back camera but I could not change it while running as if I call a new camera instance the app crashes.
Any idea how this can be done?
Thanks In Advance, Perumal