Android - receiving long SMS (multipart)

Danail picture Danail · Nov 29, 2010 · Viewed 11.5k times · Source

I have an application, which has to listen for specific SMS. So far easy.

But when I receive the message, it's multipart. Is there a proper way to receive the SMS as one message?

Now my activity starts two times, for each part of the sms. Should I concatenate the SMS by hand?

Answer

Sebastian Paaske Tørholm picture Sebastian Paaske Tørholm · Jan 29, 2011

It may be useful to look at how gTalkSMS handles incoming SMS'es, as it appears to handle multipart messages correctly.