This can be solved by adding a classic abstraction layer such as this gentleman has done in this sample source code:
http://www.tomgibara.com/android/camera-source
Specifically, sounds like you may want to have some test pictures and use the BitmapCamera