It would be useful to get a bugreport or a logcat of the operation.  When
you switch from mobile to wifi the device will use mobile until wifi
connects and has a dhcp response and then it will change the route table
and reset all live connections.  The reset should prevent apps from getting
hung waiting for timeouts, but depending on the http stack impl details it
may still hang waiting for a response on a connection that's dead.

Switching wifi to mobile is a little different - you'll lose the wifi first
before we even try bringing up mobile data, so there's a bigger window with
no network at all.  Old connections are still reset though when the wifi
goes away.

R

On Sun, Apr 22, 2012 at 8:48 PM, Bhuvan Chandra
<[email protected]>wrote:

>
>
> On Sun, Apr 22, 2012 at 8:12 PM, Bhuvan Chandra <[email protected]
> > wrote:
>
>> Hello ,
>>
>> I dont have an answer for u but i have a question, as part of my project
>> i have to develop an android app which could receive the gps coordinates
>> and send them to a pc(i.p.address) through wifi both mobile and pc are
>> connected to wifi,
>> i have done the part of receiving the gps coordiantes from a satellite ,
>> can u tell me  the code for sending these coordinates through wifi to a pc
>>
>>
>> On Thu, Apr 19, 2012 at 9:01 AM, JibW <[email protected]> wrote:
>>
>>> Hi, I posted my problem in detail in stackoverflow, but didn't get any
>>> positive answer for the problem. The link to the problem is as
>>> follows.
>>>
>>> http://stackoverflow.com/questions/10192974/android-wifi-and-mobile-internet-confliction
>>>
>>> If someone can give me any Idea why this happens, really grateful.
>>> Thank you very much.
>>>
>>> --
>>> 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
>>
>>
>>
>  --
> 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
>

-- 
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

Reply via email to