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

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