Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 4
Registered: ‎12-15-2011
My Device: Curve 9300
My Carrier: Vodafone

Encoding for incoming text messages on datagram connection

Hi all,


I am trying to read and display incoming text messages (SMS). To do so I am using the datagram connection method described in the following article:


So far everything works fine except for one thing: the encoding. Is there any way to detect the message encoding for an incoming message when using a datagram connection?


Any help is more than welcome.





Device: 9800, OS

Development: Eclipse Plugin 1.5