Hi guys,

I have an app that uses the WebView.

In the webview, I have ajax polling going on.

I have coded up an exit button for my app, that calls activity.finish()

When this happens, the app closes, and is not present in the "active 
applications" section of the task manager.

However, the app is still active, as there is a "force close" button 
present in the app task manager.

I see on the server that the polling is still occurring after the "exit" 
button was hit.

I would like the exit button to completely kill the app off.

The bigger problem then, is that the next time I launch the app, there are 
now two threads of ajax polling, which is breaking my application.

I have my app set to launch in single instance mode (which is required).

What is the best thing to do here?

thanks,

Lee

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

Reply via email to