It is my understanding that Android maintains only one type of networking connection, so sorry, you don't get to choose.
It shouldn't be a problem for HTTP, though, since it's sessionless (connection reuse is an optimization). Note that you can make your code behave differently for Wifi vs. cellular - perhaps performing deeper, more frequent sync, etc. 16.07.2010 19:11 пользователь "Lieuwe" <[email protected]> написал: I understand that I can use that to monitor the network connection(s) - but I would like to choose which one to actually use when I call openConnection(). Can I tell the phone which connection I want to use (or use 2 different ones at the same time perhaps) .. or do applications only get to use the one that the OS decides is active? In my case I use a http connection as our server side API uses that - but I can go down to socket level if that is needed. -- You received this message because you are subscribed to the Google Groups "Android Developer... -- 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

