byte[] sendData = new byte[1024]; sendData = ("namekey").getBytes(); DatagramPacket sendPacket = new DatagramPacket( sendData, sendData.length, myBIp, PORT);
byte[] sendData = new byte[1024]; Intent in=new Intent(); in.putExtra("key", name); sendData=((String) in).getBytes();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)