package org.thoughtcrime.securesms.mms; import android.util.Log; import org.thoughtcrime.securesms.util.Util; import java.io.UnsupportedEncodingException; import ws.com.google.android.mms.ContentType; import ws.com.google.android.mms.pdu.CharacterSets; import ws.com.google.android.mms.pdu.PduBody; import ws.com.google.android.mms.pdu.PduPart; public class PartParser { public static String getMessageText(PduBody body) { String bodyText = null; for (int i=0;i