how can I save a bitmap with onRetainNonConfigurationInstance() for screen orientation?
问题 In my class view phone cam will be opened and programme shows the bitmap after user take photo from phone cam but at the same time the user rotates the screen to "landscape" bitmap will disappear and activity's oncreate() will load again and then camera will be opened again. I didnt know save bitmap with onRetainNonConfigurationInstance() or onSaveInstanceState(). The question is this how can I save the bitmap(taken from phone cam) before user rotates the phone so that even if phone is