Missing class data OnActivityResult


I have a weird issue. I have been successfully been running an activity on Android 4.0.3, where the activity class holds data in a number of activity/class-level variables. The user can initiate the camera, and on resume/ActivityResult, can still access these variables, as i would expect (the activity sits behind, perfectly happy).

However on Android 4.1.2, it looses this information on Resume/ActivityResult. Weirdly this does not affect the UI, which if anything would be where I would expect a loss if any, and would need to repupulate the UI, based on my own classes or the bundle. This is not the case; it is as if the whole activity class has been refreshed, but the UI is the same.

I hope I make sense, and maybe someones knows where I am going wrong?


Sign In or Register to comment.