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

MSA Altair 4X handheld multi gas/methane detector
$300.0
MSA Altair 4X handheld multi gas/methane detector pictureMSA Steel ALTAIR(R) Pro Carbon Monoxide Monitor
$684.84
MSA Steel ALTAIR(R) Pro Carbon Monoxide Monitor pictureMsa Altair 4x
$50.0
Msa Altair 4x pictureNew & Sealed MSA 10106722 Altair 4X/5X Xcell Combustible Lel Sensor 2015
$157.0
New & Sealed MSA 10106722 Altair 4X/5X Xcell Combustible Lel Sensor 2015 pictureLot Of (2)MSA ALTAIR2X 10153984C Multi-Gas Detector Monitor, H2S , Charcoal Gray
$150.0
Lot Of (2)MSA ALTAIR2X 10153984C Multi-Gas Detector Monitor, H2S , Charcoal Gray picture






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