Hey guys, i'm making an android app for a web app. the app work but every time i rotate the phone, the app reload into the main page of the website (which is the page of the url in java). i've try to add android:configChanges="orientation|screenSize" in manifest but doesn't work. is there a way to prevent this???
Thanks in advance
Prevent WebView to reload on rotate
Post a Reply
|Oldest Newest Rating|
· September 11, 2015
Go to your manifest and declare the orientation to be either landscape or portrait. This will prevent rotation. Alternatively, I once Googled this problem for myself and found that you could "lock the screen" to be a certain orientation until you get done with your background task.
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|