wy328 Member Licensed User Longtime User Apr 25, 2014 #1 the phonesms lib with deliver notification is really usefull, but it does not supprt large sms. could anyone find any solution for this: large sms sending & deliver statu notification. thanks a lot!
the phonesms lib with deliver notification is really usefull, but it does not supprt large sms. could anyone find any solution for this: large sms sending & deliver statu notification. thanks a lot!
DonManfred Expert Licensed User Longtime User Apr 25, 2014 #2 if the text is >160 chars. Split text and send multiple sms. That´s what any other phoneapp does... Upvote 0
T Troberg Well-Known Member Licensed User Longtime User Mar 23, 2015 #3 But how to split it in such a way that the receiver puts it together to one message? Upvote 0
JordiCP Expert Licensed User Longtime User Mar 23, 2015 #4 If SMSs are from app to app and you control how it is splitted, you can also reconstruct them adding a small header (for instance, [1/3]...) and then parsing the received messages if they include this header. Upvote 0
If SMSs are from app to app and you control how it is splitted, you can also reconstruct them adding a small header (for instance, [1/3]...) and then parsing the received messages if they include this header.
DonManfred Expert Licensed User Longtime User Mar 24, 2015 #5 Troberg said: the receiver puts it together to one message? Click to expand... if the reciever is showing large SMSs in one sms then it is a feature of the recieving SMS-App. Upvote 0
Troberg said: the receiver puts it together to one message? Click to expand... if the reciever is showing large SMSs in one sms then it is a feature of the recieving SMS-App.
Erel B4X founder Staff member Licensed User Longtime User Mar 24, 2015 #6 You can use the code I posted here to send a multipart SMS: https://www.b4x.com/android/forum/threads/max-length-of-sms-message.20006/#post-115689 Upvote 0
You can use the code I posted here to send a multipart SMS: https://www.b4x.com/android/forum/threads/max-length-of-sms-message.20006/#post-115689
T Troberg Well-Known Member Licensed User Longtime User Mar 24, 2015 #7 DonManfred said: if the reciever is showing large SMSs in one sms then it is a feature of the recieving SMS-App. Click to expand... Yes, but as it works pretty much universally (I can send a multipart SMS from my Android and it will show up as one message on an iPhone, Windows Phone, another Android or even older phones with some other OS), I assume there is some standardized way of doing it which makes it work. I've tried simply splitting and sending multiple messages, and that didn't help, they just got recieved as multiple messages. JordiCP said: If SMSs are from app to app and you control how it is splitted, you can also reconstruct them adding a small header (for instance, [1/3]...) and then parsing the received messages if they include this header. Click to expand... Nope, since it's not my app recieving it. Erel said: You can use the code I posted here to send a multipart SMS: https://www.b4x.com/android/forum/threads/max-length-of-sms-message.20006/#post-115689 Click to expand... Not in my case. I need to send to several people in one batch, which means that I need to have an event to send them off at a good pace. Edit: I've done some reading, and found that there is a standard way of doing this. It was a little bit more complicated than I had hoped, so it'll be a while before I have time to dig into it. Some links I found instructive: https://hiteshagja.wordpress.com/2010/04/04/send-long-sms/ http://mobiletidings.com/2009/02/18/combining-sms-messages/ http://en.wikipedia.org/wiki/Concatenated_SMS http://www.clockworksms.com/blog/concatenated-sms/ http://www.activexperts.com/activsms/sms/multipart/ http://www.activexperts.com/activsms/sms/multipart/ http://stackoverflow.com/questions/12298558/how-to-build-concatenated-sms-pdu-getting-junk-chars Basically, all the links say the same things, but in different way. Just use the one that appeals to your brain. Last edited: Mar 24, 2015 Upvote 0
DonManfred said: if the reciever is showing large SMSs in one sms then it is a feature of the recieving SMS-App. Click to expand... Yes, but as it works pretty much universally (I can send a multipart SMS from my Android and it will show up as one message on an iPhone, Windows Phone, another Android or even older phones with some other OS), I assume there is some standardized way of doing it which makes it work. I've tried simply splitting and sending multiple messages, and that didn't help, they just got recieved as multiple messages. JordiCP said: If SMSs are from app to app and you control how it is splitted, you can also reconstruct them adding a small header (for instance, [1/3]...) and then parsing the received messages if they include this header. Click to expand... Nope, since it's not my app recieving it. Erel said: You can use the code I posted here to send a multipart SMS: https://www.b4x.com/android/forum/threads/max-length-of-sms-message.20006/#post-115689 Click to expand... Not in my case. I need to send to several people in one batch, which means that I need to have an event to send them off at a good pace. Edit: I've done some reading, and found that there is a standard way of doing this. It was a little bit more complicated than I had hoped, so it'll be a while before I have time to dig into it. Some links I found instructive: https://hiteshagja.wordpress.com/2010/04/04/send-long-sms/ http://mobiletidings.com/2009/02/18/combining-sms-messages/ http://en.wikipedia.org/wiki/Concatenated_SMS http://www.clockworksms.com/blog/concatenated-sms/ http://www.activexperts.com/activsms/sms/multipart/ http://www.activexperts.com/activsms/sms/multipart/ http://stackoverflow.com/questions/12298558/how-to-build-concatenated-sms-pdu-getting-junk-chars Basically, all the links say the same things, but in different way. Just use the one that appeals to your brain.
S Sorin Pohontu Member Licensed User Longtime User Apr 2, 2015 #8 Hello. Please see my thread here: https://www.b4x.com/android/forum/threads/phonelibrary-updated-phonesms-send.52501/ Have a nice day, /Sorin Upvote 0
Hello. Please see my thread here: https://www.b4x.com/android/forum/threads/phonelibrary-updated-phonesms-send.52501/ Have a nice day, /Sorin