Android - Connectivity Questions

Posted by Donal Rafferty on Stack Overflow See other posts from Stack Overflow or by Donal Rafferty
Published on 2010-05-05T14:49:12Z Indexed on 2010/05/05 15:08 UTC
Read the original article Hit count: 310

Filed under:
|
|
|
|

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 lose its ip address?

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

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?

Finally how do native applications handle connectivity? In the same manner?

© Stack Overflow or respective owner

Related posts about android

Related posts about connectivity