java - sendMultipartTextMessage sending as multiple SMS messages? -


i sending long sms messages in android using following code:

smsmanager sms = smsmanager.getdefault(); arraylist<string> parts = sms.dividemessage(message); sms.sendmultiparttextmessage(phonenumber, null, parts, null, null); 

the problem on phones pre lollipop 5.0 (mainly noticed on kitkat 4.4) sms being sent 2 separate sms rather joined (multipart) message.

on phones running lollipop 5.0+ message correctly sent long sms?

i have tested on 2 exact same model phones 1 running 4.4 kitkat , other updated 5.0 lollipop , same behaviour described above occurs? has else noticed or found resolution?

when message long enough, typically more 160 characters, it's sent separate sms messages, , on gsm networks bit of meta data added called user data header (udh) tells receiver separate messages should combined.

what want happen receiver combine them single message. note it's receiver combines them, that's need looking. far know, behaviour of sendmultiparttextmessage in lollipop same in kitkat.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -