Thank you Kostya. As you have nicely noticed my network code doesn't 'see' any flag so that's not an option for me. Setting the handler to null actually came to my mind but it seem a little bit 'dirty'. What worries me is that if I exit my application, the thread is still working, trying to connect and only after finishing that it can 'see' that it was stopped from outside and doesn't want to communicate with UI :/
-- 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

