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

15X ON Semiconductor MC10H350FNG PECL to TTL Translator ICs
$12.95
15X ON Semiconductor MC10H350FNG PECL to TTL Translator ICs pictureCY8CKIT-050B CYPRESS SEMICONDUCTOR
$116.79
CY8CKIT-050B CYPRESS SEMICONDUCTOR pictureLot of 95 New Various Semiconductors
$14.9
Lot of 95  New Various Semiconductors pictureLMC6024IM National Semiconductor Precision Quad Op Amp IC SMT SOP - NOS Qty 5
$4.99
LMC6024IM National Semiconductor Precision Quad Op Amp IC SMT SOP - NOS Qty 5 pictureTransistor: 2N4401 NPN, National Semiconductor : 25pcs per lot
$7.5
Transistor: 2N4401 NPN, National Semiconductor : 25pcs per lot picture






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