Replace usages of StringBuffer with StringBuilder.  StringBuilder has been part of Android since API Level 1 (see http://developer.android.com/reference/java/lang/StringBuilder.html).  No synchronisation is performed on StringBuilder, and in all these usages the StringBuilder is confined to use within a single method.