Hi all,

I have a web based application which uses Webview, it connects to a
remote HTTP Server and brings HTML pages to be rendered in Webview.
Each HTML page have some controls and every control action triggers a
HTTP POST ajax request to the server. When the page loads, it first
issues HTTP POST ajax requests to update the control states. Every new
page which comes from the server gets reloaded/refreshed(using JS
'setInterval') in every 5 minutes.

The problem is that in the Webview when the page transits to a new
page, the previous page Java Script activities still continues and
hence the previous page AJAX requests increases the network
bandwidth.

Is there a solution to stop the Javascript activities of the previous
page in the webview, so that only the current/active page script
works.

Preferably the solution should still have cache enabled, I want to
avoid bringing in same pages from the server in less than 5 minutes.

Thanks In Advance
Ash

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to