BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 05-29-2009, 03:18 AM   #1 (permalink)
New Member
Join Date: Apr 2007
Model: 7100
Carrier: ADSL broadband
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post Hi, javax.wireless.messaging.TextMessage Problem

Please Login to Remove!

I am trying to run below code to get the Phone number in Native SMS Edit Screen on Storm device.

public Object run(Object context)

if (context instanceof javax.wireless.messaging.TextMessage) {
javax.wireless.messaging.TextMessage txtMsg = (javax.wireless.messaging.TextMessage) context;
String phNumber = txtMsg.getAddress();
Above code returns phone number on pearl, curve but not on STORM,,

Can anybody help me resolve this issue?

Thanks in Advance,,
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

JOHNSON CONTROLS HL-67N5-8N00P NSFP HL67N58N00P pictureP100AP-4C J/C Pressure Control
P100AP-4C J/C Pressure Control pictureJohnson Controls S300-SI8 Metasys Input Module NEW H20 (2107)
Johnson Controls S300-SI8 Metasys Input Module NEW H20 (2107) pictureJohnson Controls TEC2645-4
Johnson Controls TEC2645-4 pictureJohnson Controls Metasys IOM171 Controller
Johnson Controls Metasys IOM171 Controller picture

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