I have an app that I've been using for years. It's basically a list of webpages that I can cycle through by pressing a button and display one by one in a WebView. Sometimes I can cycle through the entire list without a problem. Other times a webpage will lock up while is displaying and I am forced to exit my application, go into settings and Force Stop the app, then reopen the application. The app then works properly or hangs up again after another couple pages.
I've been watching the app closely for the past couple weeks. Each time it hangs it seems as though it's in the middle of rendering one of the ads. It seems as though it's in an endless loop during rendering or maybe waiting for data from the ad source.
If I just exit the app, Android keeps it running in the background, and when I reopen the app it's still hung.
If I exit the app, Force Stop, then reopen the app, it works properly.
I've been racking my brain how to solve this problem. I don't think there's any way to Force Stop an app from within itself or to force an app to stop when you exit. I don't think there is any way to reset the WebView. I have tried someone's suggestion of using the Chrome Client – did not solve the problem.
Can anyone suggest anything I could try to solve this problem?
Thanks,
Barry.
I've been watching the app closely for the past couple weeks. Each time it hangs it seems as though it's in the middle of rendering one of the ads. It seems as though it's in an endless loop during rendering or maybe waiting for data from the ad source.
If I just exit the app, Android keeps it running in the background, and when I reopen the app it's still hung.
If I exit the app, Force Stop, then reopen the app, it works properly.
I've been racking my brain how to solve this problem. I don't think there's any way to Force Stop an app from within itself or to force an app to stop when you exit. I don't think there is any way to reset the WebView. I have tried someone's suggestion of using the Chrome Client – did not solve the problem.
Can anyone suggest anything I could try to solve this problem?
Thanks,
Barry.