Yes, its a pain, isn't it. Go here, and 'star' it to move the feature request up the pile:
http://code.google.com/p/android/issues/detail?id=6518&can=1&q=3G%20mobile%20Wi-Fi%20type%3DEnhancement&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars There may be other similar enhancement requests. If there's a higher- placed one, let us all know, and we can move that one up the pile instead. On May 5, 4:44 pm, Carlos Silva <r3...@r3pek.org> wrote: > On Wed, May 5, 2010 at 15:15, draf...@gmail.com <draf...@gmail.com> wrote: > > I have a couple of questions about connectivity on Android, if anyone > > has any insight it would be great. > > > What is the default when an application wants to wirelessly connect? > > Is it wlan? And if wlan is switched off or there is no access points > > around is it 3g or gprs? > > > Is a device always ip connected? Or when its disabled from wlan or 3g > > does it's lose its ip address? > > AFAIK, you only have 1 *active* conection at a time. wireless or 3g, in > order of preference. > > if none is available you only have a loopback interface up (127.0.0.1) that > doesn't connect you to anything except you phone :) > > Is an application, for example the browser only ever connected to one> ip > address? Or can it be connected to multiple addresses for each > > radio such as gprs or wifi (wlan)? > > Only one. > > > Can an application decide which connection to open a socket to? For > > example can I create an application and decide whether to connect the > > socket to the wlan or gprs? Or does the OS decide? > > The OS decides. An application developer only have to worry about being able > to use the Internet. nothing else. > > > Finally how do native applications handle connectivity? In the same > > manner? > > I think they use the active interface, and since there is only one at a > time, yes, it's in the same manner. > > -- > 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 > athttp://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 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