Finish() to go back two activities
I have an activity A that calls Activity B for a result.

Activity be calls the camera intent to take a picture then sends it off to a server.  On the PostExecute method of the async task of Activity B I call finish() hoping to get back to activity A.  However the image I have just received from the intent call of Activity B gets removed.  I have to press the back button again to get back to activity A.

How can I skip the middle activity of getting a picture from the camera and return to activity A?

Thanks in advance

Jon
Finish() to go back two activities
===

I have an activity A that calls Activity B for a result.

Activity be calls the camera intent to take a picture then sends it off to a server.  On the PostExecute method of the async task of Activity B I call finish() hoping to get back to activity A.  However the image I have just received from the intent call of Activity B gets removed.  I have to press the back button again to get back to activity A.

How can I skip the middle activity of getting a picture from the camera and return to activity A?

Thanks in advance

Jon