Log in

View Full Version : Lost connection after receiving phone call


steve_n
02-03-2004, 04:50 PM
I'm fairly new to Smartphone development, and am running into a fairly basic problem.

I have an active network connection, am sending and receiving packets fine, until I get an incoming phone call. After hanging up, my app returns to the foreground but the network connection is gone.

I'm really only familiar with the standard socket network calls; none of these are able to establish a connection after the phone call. Has anyone else run into this problem and is there a solution?

Thanks!
Steve

Mike Temporale
02-11-2004, 02:07 PM
Interesting problem. I can't say that I have done anything that would be in the same ballpark as your application. But that never stops me guessing. :wink:

My initial thoughts are that the connection isn't fully released when the incoming call occurs. This would then cause problems when you try to establish a connection again later. Make sure you fully release and set the connection to nothing. Just my $0.02 HTH.