You are much better served by handling configuration changes via retained fragments, or onSaveInstanceState(), or onRetainNonConfigurationInstance(). After all, there are many more configuration changes than just those two.
On Fri, Aug 3, 2012 at 8:29 AM, agarg007 <hctm.an...@gmail.com> wrote: > Hello friends; > I implement an ex of fragments in Android fm Vogella.com. > > i want to do that my activity do not restart when our Orientation changes.. > i use android:configChanges="keyboardHidden|orientation" > > in my manifest file and implement a onConfigChange method in our activity. > > but it do not work. > > > hlep to sort out this. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.0 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en