tuhuayuan / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

Sent SMS are split in the stock SMS application when there is 160+ chars #352

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello !

When I send long SMS message (more than 160 characters) with the command 
'sms:<contact>:<a_long_message>' my sent message is shown as a multi-part SMS 
in my messaging app. (The message is received in one part by the receiver, 
that's not the point)

Is this related with gtalksms or my phone (Nexus 5 with Hangouts) ?
If it's related with gtalksms, could anything be done to let "long sms message" 
be displayed/saved as an "only one message" for more convenience ?

Thanks for your great job.

Original issue reported on code.google.com by philippe...@gmail.com on 4 Feb 2014 at 9:45

GoogleCodeExporter commented 8 years ago
Hello
I've reproduced the issue with KitKat.
I'll investigate this issue.

Thanks

Original comment by Florent....@gmail.com on 18 Feb 2014 at 11:37

GoogleCodeExporter commented 8 years ago
Do you've any updates on thiss issue? I've same problem.

Original comment by inzagh...@gmail.com on 7 Jul 2014 at 3:27

GoogleCodeExporter commented 8 years ago
I also have this problem and it's driving me crazy. I was excited to see that 
you updated the app so development hasn't completely stopped but I would like 
to see this issue fixed. thanks.

Original comment by catlvr...@gmail.com on 16 Aug 2014 at 3:11

GoogleCodeExporter commented 8 years ago
The issue is due to the Android API 4.4+. Messages are written by the default 
application instead of GTalkSMS. No solutions for now...

Note: Beginning with Android 4.4 (API level 19), if and only if an app is not 
selected as the default SMS app, the system automatically writes messages sent 
using this method to the SMS Provider (the default SMS app is always 
responsible for writing its sent messages to the SMS Provider). For information 
about how to behave as the default SMS app, see Telephony.

Ref: 
http://developer.android.com/reference/android/telephony/SmsManager.html#sendMul
tipartTextMessage(java.lang.String, java.lang.String, 
java.util.ArrayList<java.lang.String>, 
java.util.ArrayList<android.app.PendingIntent>, 
java.util.ArrayList<android.app.PendingIntent>)

Original comment by Florent....@gmail.com on 16 Aug 2014 at 4:04

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 16 Aug 2014 at 6:17

GoogleCodeExporter commented 8 years ago
Still not sure why on other apps that works well. I'm using EvolveSMS as 
default sms app (stock are removed) and Yappy for sending messages. All works 
well on them. Same with other SMS app, and/or airdroid.

GTalkSMS is still splitting messages which is annoying for me.

Original comment by inzagh...@gmail.com on 27 Oct 2014 at 12:56

GoogleCodeExporter commented 8 years ago
And/or how to set gtalksms as a default sms app?

Original comment by inzagh...@gmail.com on 27 Oct 2014 at 1:15