Java tutorial
//package com.java2s; import android.widget.TextView; public class Main { public static void appendToStartOfLog(TextView log, String appendThis) { String currentLog = log.getText().toString(); currentLog = currentLog + "\n" + appendThis; log.setText(currentLog); } }