BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-14-2008, 10:28 AM   #1 (permalink)
New Member
 
Join Date: Jun 2008
Model: 324
PIN: N/A
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!

Hi,

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.

Thanx
Sohail
Offline  
Old 07-14-2008, 01:03 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

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.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.