I can partially answer your question. 1) It happens automatically. With WiFi on, no IP routes are present for the 3G network. The 3G network adaptor is disabled. Turn off WiFi, and the WiFi network adaptor is disabled, and the 3G adaptor is activated.
To my modest surprise, the networks are not simultaneously present, and so the routing table only holds one set or the other. (At least on my Nexus One). This doesn't appear to be how my iPhone works. 2) Any active connection drops under such a switch. The other end no longer knows how to reach the phone. There are ways this COULD be handled, with the help of an intermediary server, which would basically provide Network Address Translation services. I believe something similar is going on within the cellular carrier's IP traffic handling, but I don't know for sure. 3) Yes. Modulo problems the Nexus One has with T-Mobile's 3G service, which are due to be fixed shortly. 4) No alert or notification whatsoever, assuming the user has already given permission to use this network, and supplied the credentials if necessary. The Wifi icon in the status bar will appear/disappear, and the 3G icon disappear, but nothing designed to call your attention to the change in status. On Feb 3, 1:46 am, subho <subhendu...@gmail.com> wrote: > Hi All, > I'm doing a research on Cellular-WiFi switch and finding any mechanism > to handle cellular hand off.As far as i've found,an http request is > routed through WiFi network if connected even gprs/cellular connection > is present.My queries are : > > 1)Does this switch happens automatically ? If yes,which part of > framework or code does that? > 2)Does the http request drop in such situation due to cellular hand > off ? Is there any way to handle such hand off ? > 3)Does gprs cellular connection reconnects automatically when WiFi > gets disconnected ? > 4)Which type of alerts or notifications normally user gets in such > situations ? > > Yours feedback and inputs will be of great help for me in this > activity. > > Thanks, > Subho -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en