Hello
I found a good example of a camera (Thanks Erado). It has a small Class which extends Activity and the main business is in class PreviewView extends SurfaceView implements SurfaceHolder.Callback, AutoFocusCallback {
etc etc}
In the original example the his Activity is the main. However I would prefer to implement it as an activity called by an Intent, and returning to the onActivityResult in my main Activity.
In other cases I've used this.finish(); to return from an activity started for result. I cannot figure out how to exit this class. It goes round and round nicely taking and storing photos for every click, but I want it to stop after one and return to the main caller to decide what to do next.
Thanks
John



