I am experience the same problem, eventhough I specify android:configChanges="keyboardHidden|orientation|ScreenSize|Keyboard"
in ICS, it ignores the setting and calls onDestry() and onResume() when I change orientation It works correctly in Honeycomb and Gingerbread On Dec 7 2011, 2:51 am, "Nandan ." <[email protected]> wrote: > Hi friends > > I am testing my app on acer tablet Ice Cream Sandwich 4.0.1. > > in 4.0.1 every times its called OnCreate() method of activity but already i > have specified in mainfest file also. > > android:configChanges= > "locale|keyboardHidden|orientation|keyboard|screenSize" > > i have also tried through OnNewIntent() but its not success. > > i know the last option is i set a variable and > onRetainNonConfigurationInstance() i have increase that variable and > getLastNonConfigurationInstance()i have check that value and than do my > code. > > but that is not a solution. > > any one facing this problem in Ice Cream Sandwich 4.0.1. > > Thank you. > > With regards > B!-!/-\\/!=$!-! -- 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

