brelto85 Active Member Licensed User Longtime User Jan 14, 2013 #1 Hi, I'm trying write an app that send sms using the PhoneSms library, it works and the sms are sent correctly The problem is that, after sending, the message is not saved in the android messages application there's a way to do that? Alberto
Hi, I'm trying write an app that send sms using the PhoneSms library, it works and the sms are sent correctly The problem is that, after sending, the message is not saved in the android messages application there's a way to do that? Alberto
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2013 #2 See the code here: http://www.b4x.com/forum/basic4andr...-sms-messages-wont-appear-log.html#post133206 Upvote 0
See the code here: http://www.b4x.com/forum/basic4andr...-sms-messages-wont-appear-log.html#post133206
pesquera Active Member Licensed User Longtime User Nov 20, 2014 #4 Hi, does PhoneSms.Send method have a limit of characters? I noticed that some long sms sent for my app have not arrived Upvote 0
Hi, does PhoneSms.Send method have a limit of characters? I noticed that some long sms sent for my app have not arrived
lemonisdead Well-Known Member Licensed User Longtime User Nov 20, 2014 #5 Yes that's right : a standard SMS is limited to 160 caracters. But when you use accentuated letters (like é ö) it is less than that size. Erel had kindly provided some code for multipart SMS : http://www.b4x.com/android/forum/threads/multipart-sms.21802/#post-127027 Upvote 0
Yes that's right : a standard SMS is limited to 160 caracters. But when you use accentuated letters (like é ö) it is less than that size. Erel had kindly provided some code for multipart SMS : http://www.b4x.com/android/forum/threads/multipart-sms.21802/#post-127027
pesquera Active Member Licensed User Longtime User Nov 20, 2014 #6 thanks for your sooon reply! do you know if that multipart sms can also handle the status? (sent, delivered) Upvote 0
thanks for your sooon reply! do you know if that multipart sms can also handle the status? (sent, delivered)
lemonisdead Well-Known Member Licensed User Longtime User Nov 20, 2014 #7 Sorry but I don't know (I am not always understanding the use of Reflection or JavaObjects). Perhaps an expert will have the reply. Upvote 0
Sorry but I don't know (I am not always understanding the use of Reflection or JavaObjects). Perhaps an expert will have the reply.
pesquera Active Member Licensed User Longtime User Nov 20, 2014 #8 Ok, I posted it on that thread thanks! Upvote 0
pesquera Active Member Licensed User Longtime User Nov 25, 2014 #9 if I power off the destination phone, the SmsDelivered event is fired but the sms was not delivered.. delivered means "delivered to the phone network" or "delivered to the destination phone"? when I power on the destination phone, I get again the SmsDelivered event I get it twice.. is that the correct behaviour? Upvote 0
if I power off the destination phone, the SmsDelivered event is fired but the sms was not delivered.. delivered means "delivered to the phone network" or "delivered to the destination phone"? when I power on the destination phone, I get again the SmsDelivered event I get it twice.. is that the correct behaviour?
Erel B4X founder Staff member Licensed User Longtime User Nov 26, 2014 #10 See Google documentation about sendIntent and deliveryIntent: http://developer.android.com/refere...app.PendingIntent, android.app.PendingIntent) You should get a single event. However it is the OS who sends the intents so you don't have any control over it. Upvote 0
See Google documentation about sendIntent and deliveryIntent: http://developer.android.com/refere...app.PendingIntent, android.app.PendingIntent) You should get a single event. However it is the OS who sends the intents so you don't have any control over it.