I\'m developing a camera app basically as part of a messaging app to attach images etc. The app needs to work for >= SDK 2.2 and:
I can\'t use the defau
Android camera system is a mess. And beind soldered to motherboard, camera chip is not going to like portait application - all the callbacks spill out data in camera orientation (buffer you receive is actually shared memory piece with native camera app) - if you like to display it while your application is in portait mode, you will have to flip this data over xy.
Instead of showing image on the surface view used by camera, I would overlay it with transparent ImageView and draw my bitmap there.
You may (hopefully) find some inspiration in out javaocr project where android deamon work in portrait mode and draw bitmaps over live preview. (please checkout from git, as it is being released now and I'm struggling with git and maven, see demos directory)