I would like to take a picture in such a way that no user interaction is required and no user interace elements are displayed. In other words, I want to take a picture using a background process. No sound must be made (like the camera shutter when snapping the photo). If possible, it would also be nice if I could set the resolution of the camera rather than resizing the image after it is taken.
All the code samples I've seen use an activity that displays the typical camera app and lets the user manually take the photo.