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
PIN: N/A
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!

Hi,
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,,
Raghav.
Offline  




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