Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
Hello, I had a similar problem. Eventually my solution (although not elegant) was to create a "heartbeat" thread. The thread loops repeatedly and send an alive check message to the server. When the server receives the message it sends a reply back. If the thread doesn't receive the reply in a certain amount of time (in my case 5 seconds) it can assume that the connection is dead.