Well, now it sounds like you're reinventing mime types..., but this
isn't a horrible way to do it either I suppose. In either case what's
giving you the difficulty? You can send the bytestream by doing a
standard read() and write() across the socket, so this shouldn't be
too bad..
Thanks.
I am pretty new with Java (I have written no more than 2 programs, all
from tutorial).
I think there are pretty large gap in my knowledge. Only yesterday I
discovered that a JTextArea object can be passed to another class; I have
not come across this before. In C/C++ this is pretty normal with the use
of pointer.
Given a memory buffers (pointer), one can cast a length of bytes (from an
offset) to a data type. Since you mention bytestream, I assume that I can
use the format
abytestream bb[i]
to read the data. I shall test it out anyway.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
--
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