问题
Anyone knows a available Pdu Parser in Java from byte[] array, my main concern is to get the User Data Header (UDH) complying to the GSM standard. I mean getting it properly.
回答1:
smsLib is relatively mature. You could also make use of the parser built into Android.
回答2:
As I was in need of an SMS-PDU parser/creator a couple of years ago I could not find one and had to write my own. Grab a copy of GSM 03.40, brush up on your bit-fiddling skills, and get going. :)
来源:https://stackoverflow.com/questions/9110901/is-there-any-available-sms-pdu-parser-in-java