How to work with UDP in Android?

I am very new to the Android platform. I need to establish a connection to a UDP server using my Android UDP client. Now I need to know how to work with UDP in Android. Please help me do this.

+5
source share
2 answers

You can work with UDP in Android applications, as in any Java application, with java.net.DatagramSocketand java.net.DatagramPacket. There is a short sample application available at http://www.anddev.org/udp-networking_-_within_the_emulator-t280.html

+9
source

UDP Android UDP Java-. , . , ( ) . , , ( , , ) 8K.

+2

All Articles