http://en.wikipedia.org/wiki/SMS

[...] it was necessary to limit the length of the messages to 128 bytes (later improved to 140 bytes, or 160 7-bit characters), so that the messages could fit into the existing signaling formats[...]

cheers

Bob Kerns schrieb:
It doesn't matter. The first S in SMS stands for 'Short'. Short as in
140 bytes.

Even if you managed to stuff 300 characters (which may be as much as
600 bytes in size) into the SMS app -- it has to either truncate or
give an error.

I think this 140 limit is warping our society in unfortunate ways
(e.g. Twitter), but nonetheless, it's something we just have to deal
with.

On Mar 23, 4:24 am, AJ <ajeet.invinci...@gmail.com> wrote:
Hi Marek,

Thanks for the information. But This I know. I think you misunderstood
my question.

Actually I am invoking SMS application from my app. I am sending some
text [which is around 300 characters] in "sms_body". These characters
are being cut when SMS application is being invoked. I could find only
200 characters in the SMS app.

I want to know where is the limitation? Is this a framework
limitation?

I already pasted my code above.
Note: I am sending through Intent.ACTION_SEND

Anyways thanks for being generous and reply
AJ

On Mar 23, 12:13 pm, Marek Pola <marek.p...@gmail.com> wrote:



A SMS is limited to 140 bytes (octets), maybe this is the boundary you
are experiencing? I don't know if Android supports concatenated SMS.
http://en.wikipedia.org/wiki/SMS /Marek On Mar 22, 5:51 pm, AJ <ajeet.invinci...@gmail.com> wrote:
Hi group
I facing one strange problem. I am sending some text to SMS app as a body. But when the text size
increases more than 200 characters, it cuts the body from there. Only
first 200 characters are appearing in the SMS body. But I can write
more text when SMS gets launched :(
Is there any limitation while sending characters to SMS?
if yes then its ok
But if no then where i am doing wrong?
My code looks like :- String txt = " characters .... more than 200 "; Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra("sms_body", txt);
intent.putExtra(Intent.EXTRA_TEXT, txt);
_activity.startActivity(Intent.createChooser(intent,
_activity.getText("text titte")));
Thanks,
Ajeet Singh


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to