The server app was written for iPhone witch maybe handle some things
differently. As a message terminator server app author used <OK>
sequence (I will ask him why), so I definitely couldn't use
readLine(). It turned out there was more then one problem. In line 4,
I had to replace all & characters with &amp; but that alone was not
the solution. It seems that PrintWriter adds something to
OutputStream, probably \n character or something similar. Server
didn't like that and my actions were ignored. I tried PrintStream
instead of PrintWriter and that worked perfectly. So, now I am good.
Thanks all.

-- 
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

Reply via email to