--SOLVED-- This is actually caused by my Photo_Activity being destroyed and created again just before the callback from the on-board camera activity when the orientation of the camera activity is changed.
Fix is to set screenOrientation="portrait" (or landscape). Then my Photo_Activity is not destroyed and the reference to the Uri is maintained. For my application, this workaround is acceptable. This is not a bug. Just another Android caveat to be aware of. There is something to be said about the fact that a change in screen orientation of an activity affects the lifecycle of a preceding activity. It certainly goes against my expectation of what the behaviour ought to be, which made it difficult to track down the cause of this run-time error. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

