Welcome!

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

Reply
Developer
Posts: 554
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Difference between simulators

I have been developed an application using the the default simulator. Works fine sofar. Now I tested it with

8900-5.0.0.411  simulator.

 

When an outgoing call entes the phonelistener the number is prefixed with 2 question marks.

What is that all about?

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Developer
Posts: 554
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: Difference between simulators

Update

I am running Blackberry  JDE 4.7.0.41

I have the following simulators:   9500-JDE, 9530-JDE, 9630-4.7.1.40, 8900-5.0.0.411

 

The code in question is:


     PhoneCall callInfo = Phone.getCall(callid);
     String phoneNumber = callInfo.getDisplayPhoneNumber();
     CreateAlert(settings.Debug,"Got the phone number  " + phoneNumber);

 

The 9500-JDE and 9530-JDE displays a correct phone number

The 9630-4.7.1.40    prefixes the phone number with a question mark

The 8900-5.0.0.411 prefixes the phone number with 2 question marks

 

I guess the question mark actually means nonprintable

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Highlighted
Developer
Posts: 554
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: Difference between simulators

Well. I made a small routine to strip the phone number of any invalid characters  and all simulators work. I still wonder if its a bug or if there is any significance in those strange chars at the start of the phone number.

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-