Hello All, Working on my first Android project here...
I have an Activity that has a WebView and my own WebViewClient. To deal with orientation changes, I have configChanges in the manifest and onConfigurationChanged. During onCreate and onConfigurationChanged I set up the views by calling my own setupViews where I set the WebViewClient. For the onCreate I load a particular URL and the Activity does it's thing. When the user changes the orientation of the device later on after viewing a few pages, the onConfigurationChanged gets called, and I load the URL the user was looking at (I saved it in a variable from my WebViewClient's onPageStarted). This works, except the history is lost because it's a new WebView. What's a better way of doing this? I want my WebViewClient to behave like a normal browser when the user tilts the phone, just reloading the current page and preserving the history. Thanks, Joseph -- 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