java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Android CWAC Camera can't take a photo
    via Stack Overflow by rizon
    ,
    • java.lang.IllegalStateException: Preview mode must have started before you can take a picture at com.camera.CameraView.takePicture(CameraView.java:317) at com.camera.CameraFragment.takePicture(CameraFragment.java:152) at com.PhotoFragment.takeSimplePicture(PhotoFragment.java:240) at com.PhotoFragment.onOptionsItemSelected(PhotoFragment.java:123)
    No Bugmate found.