Camera App Call Recreates Android Activity

I am working on a tab that is implemented using an ActivityGroup. When I call the camera application and return it always calling onCreate () and recreates the action. Because of this, the onActivityResult callback has null data.

I am adding this internal manifest file. But no change.

android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden" 

I only have this problem on the Samsung s3 galaxy. I tested the same thing on galaxy s2, HTC, galaxy nexus. All devices are working properly.

How can I do it right?

thanks

+4
source share

Source: https://habr.com/ru/post/1445389/


All Articles