Webservice call not working after switching between Wifi to 3G or 3G to Wifi
<p>I written a service in my app that will send lat longs to the server for every 15 seconds . the problem is:</p>

<p>When service started i am using wifi and making calls to server with latest lat longs for every 15 seconds it is working fine.after some time I switch off the wifi and switch on the 3g (mobile network) now the service is not reporting latest lat longs to the server.But it is working fine when switch off wifi for some time and again switch on wifi. </p>

<p>The service also not working fine in the vice versa that is when we are switching between 3g to wifi. But it is also not working when I am switching between 3G to 3G ie use 3G initially and switch off for some time and then switch on the 3G again ( but wifi to wifi change service is working fine.) </p>

<p>I don't why this abnormal scenario happening to my service. </p>

<p>Looking for help if any body knows about this problem.Immediate response would be appreciable.</p>

<p>Regards,
Kiran. </p>
