In the browser that comes with Android, when you rotate the phone, the WebView
is not reloaded. I was wondering how to do this. I can save the current URL of the Webview
and pass it to the next version of myself, but how do I do that with the whole WebView
?
Asked
Active
Viewed 2,955 times
0

philipxy
- 14,867
- 6
- 39
- 83

Isaac Waller
- 32,709
- 29
- 96
- 107
2 Answers
2
I ended up just using onConfigurationChange and kept the same WebView. Thanks,
Isaac Waller

Isaac Waller
- 32,709
- 29
- 96
- 107
-
Hi,can send me the source or link in peastbin? – Sameer Z. Mar 23 '11 at 11:17
1
Don't forget to register for the configChange in your Manifest.
<activity android:name=".WebContent" android:configChanges="orientation">

mbarkhau
- 8,190
- 4
- 30
- 34