In my App I have a take photo function that fails "sometimes" with a portrait mode.
When the camera open and take the photo change to 'landscape'.. and when return to my app, my activity desapear and appear again changing the position of the phone to portrait..
Is like the phone tray to redraw again the activity, the previous options selected in my activity diseapear.. like loading new activity.. and after one second this fails and crash the app.
I can't put the error code, because i don't have an error in log.. simple when i try to click some control in the app this crash because it's not initialized.
When the camera open and take the photo change to 'landscape'.. and when return to my app, my activity desapear and appear again changing the position of the phone to portrait..
Is like the phone tray to redraw again the activity, the previous options selected in my activity diseapear.. like loading new activity.. and after one second this fails and crash the app.
I can't put the error code, because i don't have an error in log.. simple when i try to click some control in the app this crash because it's not initialized.