Send information in byte
Posted on 2014-03-25
I am creating an android application (Java) and I have numerous information in various formats such as string, double, long, etc.
Regardless of what it is, in the end of it all I would like to send all these information in binary format over UDP.
If you can provide a detailed example of how I can accomplish this it will be much appreciated. I just need an example on how I can first store a string, double, long, etc. in binary then send as binary over UDP.