I created an application which uses a socket connection to my server. This server sends an information string to the phone which reads this with a BufferedReader. Now i want to display this information on the screen(in a textbox for example) but the textbox.append command doesn't work in this case. There is no error but at runtime it won't add the string to the textbox. Tried the same with textviews. Here the part of this code. The commands() function is called in the connect progress and the variables are declared at the beginning.
public void commands() throws Exception{
Responce = buffer.readLine();
final TextView textViewToChange = (TextView) findViewById(R.id.textView1);
textViewToChange.setText(Responce);
commands(); }
Would be nice if anyone know how to fix this problem. Thanks :)