android - Webview saving state of page -


i have small problem webview i'm using. i'm trying use webview allow user fill out registration form. works fine when user completes form in 1 session should user lock phone, webview activity destroyed.

i have 2 activities in memory, 1 of quite memory intensive. problem believe i'm having because other activity requires more memory webview, webview destroyed.

i'm fine degree, able save current state of web page user doesn't have submit of details again. there anyway can this.

thanks

try :- can use webview method savestate()/restorestate() , save activity onrestore bundle , use saved value in oncreate method if previous activity destroyed. can use similar method described here (but used configuration change): http://www.devahead.com/blog/2012/01/preserving-the-state-of-an-android-webview-on-screen-orientation-change/


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -