according to several applications, it seems that multiple SMSs are received in the same intent and that they are represented by an array of messages.
so basically you get the full message:
StringBuffer content = new StringBuffer(); for (Message sms : messages) { content.append(sms.getDisplayMessageBody()); } String mySmsText = content.toString();
As far as I know, it seems that the messages are in the correct order. In any case, I don't know how to get the message header (except for pdu parsing myself).
njzk2 source share