BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 07-14-2008, 11:28 AM   #1 (permalink)
New Member
Join Date: Jun 2008
Model: 324
Carrier: at&t
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default problem in reading SMS greater than 160 char with getPayLoadText()

Please Login to Remove!


I want to read the sms data with getPayLoadText() method of TextMessage class. it looks good when message is less than or equal to 160 charcters but when the characters are exceeded the message data could not get correctly. it truncated the data.

please let me know how to read the correct data when message length is greater than 160 charcter.

Old 07-14-2008, 02:03 PM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

Last time I checked, SMS limits the message size to 160 characters. This is a limitation of the protocol. This is why it is called "Short Message Service". Your TextMessage class is working as designed.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.