Er, um, isn't SMS limited to 160 chars?

Mike

On 03/23/2010 02:08 PM, AJ wrote:
Hi Mark,

Thanks for the reply

I am also using the same what you written. But in my device it is
limited to only 200 characters.

I checked the code and verified the result again.

Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_TEXT, "some very big
texxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxt");
_activity.startActivity(intent);



In my device the limit is 200 and in your device its 552. Its ok.
Anyway we can't send unlimited data to SMS through ACTION_SEND.

But I am curious to know where the limitation is being defined. So
that I can check that.



Thanks
AJ

On Mar 23, 10:32 pm, Mark Murphy<[email protected]>  wrote:
AJ wrote:
Hi All
I am invoking SMS application through Intent.ACTION_SEND with some
text. My text has more than 200 characters. But when the SMS
application gets invoked it has only first 200 characters.
Is this is the limitation of Intent.ACTION_SEND?
You have asked this several times today.

I have just successfully sent 552 characters via ACTION_SEND to the
Messaging application.

Therefore, my guess is that the problem lies in your code somewhere. I
would get rid of the sms_body extra and just use Intent.EXTRA_TEXT.

--
Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy

Android 2.0 Programming Books:http://commonsware.com/books

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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