I added proper logging, allowed it to raise exceptions when needed, simplified a couple of things. I removed checking if the method is allowed: better ask forgiveness, not permission (and, since getAllowedMethods were called before setting shoot mode, actTakePicture was not available and it refused to instruct the camera to take pictures!).
I added proper logging, allowed it to raise exceptions when needed, simplified a couple of things. I removed checking if the method is allowed: better ask forgiveness, not permission (and, since getAllowedMethods were called before setting shoot mode, actTakePicture was not available and it refused to instruct the camera to take pictures!).