BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 10-20-2009, 08:57 AM   #1 (permalink)
New Member
 
Join Date: Aug 2009
Model: 8700
PIN: N/A
Carrier: T-mobile
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Cannot display Chinese Characters using InvokeApplication to edit generated SMS

Please Login to Remove!

As suggested in the previous post in this forum, I use the following codes to create SMS with predefined text strings and display SMS in the SMS editor with Invoke.invokeApplication method. However, if the text strings contain Chinese characters, all these characters are replaced with "?" in the text area of the SMS editor. How can I make the SMS editor to show Chinese characters correctly? Many thanks.

Code:
MessageConnection conn = null;
TextMessage msg = null;
try {
  conn = (MessageConnection) Connector.open("sms://" + "phone number");
  conn.close();
  msg = (TextMessage) conn.newMessage(MessageConnection.TEXT_MESSAGE);
  msg.setPayloadText(predifined_text);
} catch (IOException e) {
  Dialog.alert("Exception: " + e);
}
Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, new MessageArguments(msg));
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

NEW SANYO SVNM-MCA MULTI CONTROLLER QN425-10
$500.0
NEW SANYO SVNM-MCA MULTI CONTROLLER QN425-10 pictureNEW PARKER SM232AE-NGSN SERVO MOTOR DRIVER 340 VOLTS 2.1 AMPS 92 OZ-IN
$325.0
NEW PARKER SM232AE-NGSN SERVO MOTOR DRIVER 340 VOLTS 2.1 AMPS 92 OZ-IN picturePARKER PDS13-2 DIGIPLAN COMPUMOTOR SERVO DRIVE CONTROLLER PDS13-57-102
$425.0
PARKER PDS13-2 DIGIPLAN COMPUMOTOR SERVO DRIVE CONTROLLER PDS13-57-102 pictureTEKTRONIX DUAL TRACE AMPLIFIER PLUG IN 7A26
$15.0
TEKTRONIX DUAL TRACE AMPLIFIER PLUG IN  7A26 pictureJCA Technology Inc. JCA34-2103 RF Amplifier,
$25.0
JCA Technology Inc. JCA34-2103 RF Amplifier, picture






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