08-04-2008 09:15 AM
I want to detect the value of "data coding" of SMS set on device? How do I detect it through programatically?
I've found this configuration on the device at application->options->SMS->Data coding.
Please help me in this regard
08-07-2008 11:58 AM
08-11-2008 07:42 AM
Actually my application implements OutboundMessageListner interface for intercepting incoming and outgoing SMS messages. When message sends from the device which is greater than 160 characters, it is observed that notifyOutgoingMessage() event fires multipes times, and (6 characters of UDH message header information + 154 content characters) recieves from payloadText() of first event and subsequent data will recieves in next events of payloadText() method.
The data in payloadaText() will decoded as the data coding ["7 bits or UCS2'] sets in device.
so, If data coding is set to "7-bits" data is in 1 bytes so i'll read it byte by byte, when data coding set to "UCS2" the receiving data is in two bytes so I'll read two bytes at a time.
but the problem is that its hard to find when i read 1 byte or or two bytes.
Can you please help me in this regard