Thanks for explanation. Are there possibles if I use NDK to do that? On Fri, Jul 9, 2010 at 5:12 PM, Indicator Veritatis <mej1...@yahoo.com>wrote:
> The "normal Java socket classes" (Socket, DatagramSocket, SocketImpl, > DatagramSocketImpl, ServerSocket) do force you to choose between TCP > (stream) and UDP (datagram). They give you no control over choosing > the layers below IP, so you cannot choose between WiFi and cellular. > > On Jul 8, 5:20 pm, piwaf <j...@ahg.net> wrote: > > But you can defenitly open sockets, use the normal java socket > > classes. But I don't know if you can choose the network type to use. > > > > On Jul 8, 11:41 am, Kostya Vasilyev <kmans...@gmail.com> wrote:> Alex, > > > > > If you mean 3G vs. Wifi - I think the answer is "no". > > > > > I believe Android maintains only one data connection option at a time, > > > although it can be either Wifi, or, in its absence, cellular (HSDPA / > 3G > > > / EDGE / GPRS, depending on the phone and the network). > > > > > -- Kostya > > > > > 08.07.2010 19:34, JoksanCPEN пишет: > > > > > > I don't think so. I think that the problem here is that carriers > > > > doesn't want people using direct port connections over their network. > > > > > > If you find something let me know, > > > > > > Ohh and if you know how to read socket on android let me know also. > > > > > > On Jul 5, 1:48 am, Alex Xin<xinxi...@gmail.com> wrote: > > > > > >> Hi, > > > > > >> Are there any methods which I can use to establish a socket > connection that > > > >> only use 3G network? > > > > > >> Thank you a lot! > > > > > >> Alex > > > > > -- > > > Kostya Vasilev -- WiFi Manager + pretty widget -- > http://kmansoft.wordpress.com > > > > > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > 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 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