@@ -0,0 +1,480 @@
+import android.os.Handler;%0Aimport android.widget.TextView;%0A%0Aclass ps implements Runnable%7B    %0A  TextView t;    %0A  String s;    %0A    public ps(TextView t, String s)%7B%0A    this.t = t;        %0A    this.s = s;    %0A    %7D    %0A    public void run()%7B        %0A    t.setText(s);    %0A    %7D%0A%7D%0A%0Apublic class logger %7B    %0A  Handler h;%0A  TextView t;%0A  public logger(TextView t)%7B%0A    this.t = t;%0A    h = new Handler();%0A  %7D    %0A  public void log(String s)%7B        %0A    h.post(new ps(t, s));    %7D%0A%7D%0A

Create logger.java