Hi
I created a webviewe app and now I have a problem.
When I login with my username and password into site , and change the phone to Landscape or Portrait
It will automatically logout and redirect to login page again
How to fix this problem?
try this: https://www.b4x.com/android/forum/threads/persist-webview-through-orientation-change.37511/
if you implement it correctly, it will let you flip the phone back and forth (with the webview flipping accordingly) and bypass android's normal behavior. not enthusiastically recommended as you are bypassing how android is designed. it should let you avoid the reloading process. i use it sparingly. so far, so good.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.