I am trying to read all the text from server, I think that my code is not retrieving text from server will you please help me how can I fix this problem, I am new to android dev
Use StringBuilder object (declared before loop) in while loop and append the strings in that.
After while loop take string from StringBuilder and do tv.setText(string)