I have a midlet that holds a thread that opens every 10 sec an http connection (in order to keep session alive).
In the destroyApp() I close the conn in the thread but it happens that when I press the Exit button (The red button),
The application is marked as disabled and all I can do is erase it.
and I need to download it again to the phone.
I think the problem is that the thread holds an open connection or in the middle of data transfer and it doesn't close in the destroyApp()
What to do????