My Webview Reloads When I Change From Portrait To Landscape -


i have simple webview runs web application on android. problem when rotate phone change landscape webview reloads , goes beginning.

how can prevent action?

ron

beginning android 3.2 (api level 13), "screen size" changes when device switches between portrait , landscape orientation. thus, if want prevent runtime restarts due orientation change when developing api level 13 or higher (as declared minsdkversion , targetsdkversion attributes), must include "screensize" value in addition "orientation" value. is, must decalare

<activity android:configchanges="orientation|screensize"> 

here's docs: http://developer.android.com/guide/topics/resources/runtime-changes.html


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -