Very simple camera implementation that should be a good starting point when implementing your own CameraActivity.
- Back-facing camera initialization
- Barebones SurfaceView implementation
- Captures photos and saves to the SD card
- Camera orientation set to orientation of device
- Resulting picture orientation matches camera orientation
- Capture button realigns based on orientation of the device
- Full-screen mode
- Handles camera releasing and reinitialization
- Displays messages for common errors
- Minimum API 15 (4.0.3)