On my java server I get from an iOS client an InputStream, which looks ... The reason why your code breaks is the first line: String str ...
www.google.com.tw